home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 November / Australian PC User - November 2003 (CD1).iso / software / apps / files / roomar36.exe / library.wrl / library
Encoding:
Text File  |  2003-08-19  |  94.6 KB  |  4,430 lines

  1. #VRML V2.0 utf8
  2. PROTO Rectangle [field SFColor color 0 0 0]
  3. {
  4.     Transform    {
  5.         translation    .5 .5 .5
  6.         children
  7.         Shape    {
  8.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  9.             geometry Box {
  10.                 size 1 1 1
  11.             }
  12.         }
  13.     }
  14. }
  15.  
  16. PROTO Ellipse [field SFColor color 0 0 0]
  17. {
  18.     Transform    {
  19.         translation    .5 .5 .5
  20.         children
  21.         Shape    {
  22.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  23.             geometry Cylinder {
  24.                 radius .5
  25.                 height 1
  26.             }
  27.         }
  28.     }
  29. }
  30.  
  31. PROTO Circle [field SFColor color 0 0 0]
  32. {
  33.     Ellipse    {color IS color}
  34. }
  35.  
  36. PROTO Triangle [field SFColor color 0 0 0]
  37. {
  38.     Shape    {
  39.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  40.         geometry Extrusion {
  41.             crossSection [ 0 0, 0 1, 1 0, 0 0]
  42.         }
  43.     }
  44. }
  45.  
  46. PROTO Hexagon [field SFColor color 0 0 0]
  47. {
  48.     Shape    {
  49.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  50.         geometry Extrusion {
  51.             crossSection [ 0 .5, .25 .0625, .75 .0625, 1 .5,
  52.                 .75 .9375,  .25 .9375, 0 .5]
  53.             ccw    FALSE
  54.         }
  55.     }
  56. }
  57.  
  58. PROTO Octagon [field SFColor color 0 0 0]
  59. {
  60.     Shape    {
  61.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  62.         geometry Extrusion {
  63.             crossSection [.7 1, 1 .7, 1 .3, .7 0, .3 0, 0 .3, 0 .7, .3 1, .7 1]
  64.         }
  65.     }
  66. }
  67.  
  68. PROTO Door [field SFColor color 0 0 0]
  69. {
  70.     Group    {    children [
  71.     ]}
  72. }
  73.  
  74.  
  75. PROTO Window [field SFColor color 0 0 0]
  76. {
  77.     Transform    {
  78.         translation    .5 .5 .5
  79.         children Shape    {
  80.             appearance Appearance { material Material {
  81.                     diffuseColor IS color
  82.                     transparency .7
  83.                 }
  84.             }
  85.             geometry Box {size 1 1 .2}
  86.         }
  87.     }
  88. }
  89.  
  90. PROTO TranspRect [field SFColor color 0 0 0 field SFFloat transparency 0]
  91. {
  92.     Transform    {
  93.         translation    .5 .5 .5
  94.         children Shape    {
  95.             appearance Appearance { material Material {
  96.                     diffuseColor IS color
  97.                   emissiveColor    .1 .1 .1
  98.                     transparency IS    transparency
  99.                 }
  100.             }
  101.             geometry Box {size 1 1 1}
  102.         }
  103.     }
  104. }
  105.  
  106. PROTO Wall [field SFColor colorL 1 1 1 field SFColor colorR 1 1 1]
  107. {
  108.     Group    { children [
  109.         Shape    { #white base
  110.             appearance Appearance { material Material { diffuseColor 1 1 1    emissiveColor    .1 .1 .1 }}
  111.             geometry IndexedFaceSet    {
  112.                 coord    DEF COORDS Coordinate { point [0 0 0, 0 0 1, 1 0 1, 1 0 0, 0 1 0, 0 1 1, 1 1 1, 1 1 0 ]}
  113.                 coordIndex [0 1 2 3 -1, 4 5 6 7 -1, 0 1 5 4 -1, , 2 3 7 6 -1, ]
  114.                 solid    TRUE
  115.             }
  116.         }
  117.         Shape    { #left face
  118.             appearance Appearance { material Material { diffuseColor IS colorL emissiveColor    .1 .1 .1 }}
  119.             geometry IndexedFaceSet    {
  120.                 coord    USE COORDS
  121.                 coordIndex [3 0 4 7 -1]
  122.                 solid    TRUE
  123.             }
  124.         }
  125.         Shape    { #right face
  126.             appearance Appearance { material Material { diffuseColor IS colorR emissiveColor    .1 .1 .1 }}
  127.             geometry IndexedFaceSet    {
  128.                 coord    USE COORDS
  129.                 coordIndex [1 2 6 5 -1]
  130.                 solid    TRUE
  131.             }
  132.         }
  133.     ]}
  134. }
  135.  
  136. PROTO    OpenDoor [field    SFColor    color 0 0 0, field SFRotation    OpenRot 0 1 0 1.5, field SFVec3f scale 1 1 1]
  137. {
  138.     DEF    DOOR1 Transform    {
  139.          scale    IS scale          #door size
  140.         rotation IS OpenRot #opened door rotation
  141.         children[
  142.         DEF TOUCHDOOR1 TouchSensor {}
  143.             Rectangle {color IS color }
  144.             Transform    {#key lock
  145.                 translation    .91 .4 -.2
  146.                 scale    .04 .1 1.4
  147.                 children Rectangle {color    .7 .7 .7}
  148.             }
  149.             Transform    {#handle
  150.                 translation    .92 .47 -.8
  151.                 rotation 1 0 0 1.57
  152.                 scale    .02 2.6 .008
  153.                 children Ellipse {color    .7 .7 .7}
  154.             }
  155.             Transform    {
  156.                 translation    .935 .462 1.5
  157.                 rotation 0 0 1 1.57
  158.                 scale    .008 .1 .5
  159.                 children Ellipse {color    .7 .7 .7}
  160.             }
  161.             Transform    {
  162.                 translation    .935 .462 -.9
  163.                 rotation 0 0 1 1.57
  164.                 scale    .008 .1 .5
  165.                 children Ellipse {color    .7 .7 .7}
  166.             }
  167.  
  168.         DEF DOOR_TIMER1 TimeSensor {cycleInterval 1}
  169.         DEF DOORORI_INT1 OrientationInterpolator { # values are changed in the script below
  170.           key [ 0 .5 1]
  171.           keyValue [ 0 1 0 0, 0 1 0 1.2, 0 1 0 1.5 ]
  172.         }
  173.         DEF SWITCHDOOR_SCRIPT1 Script {
  174.           eventIn SFTime touched 
  175.           field SFBool bOpen TRUE
  176.           field SFNode open_inter USE DOORORI_INT1
  177.           field SFRotation myrotation 0 1 0 1.5
  178.                 field    SFRotation openrot IS    OpenRot
  179.                 field    SFFloat oldRot 0
  180.           url "javascript:
  181.           function touched()
  182.           {
  183.             if(bOpen)
  184.             {
  185.               bOpen=0;
  186.             oldRot=openrot[3];
  187.               myrotation[3]=openrot[3];   open_inter.keyValue[0]=myrotation;
  188.               myrotation[3]=openrot[3]/5; open_inter.keyValue[1]=myrotation;
  189.               myrotation[3]=0;   open_inter.keyValue[2]=myrotation;
  190.             }
  191.             else
  192.             {
  193.               bOpen=1;
  194.                         openrot[3]=oldRot;
  195.               myrotation[3]=openrot[3];     open_inter.keyValue[2]=myrotation;
  196.               myrotation[3]=openrot[3]*4/5; open_inter.keyValue[1]=myrotation;
  197.               myrotation[3]=0;   open_inter.keyValue[0]=myrotation;
  198.             }
  199.  
  200.           }
  201.           "
  202.         }
  203.       ]
  204.             #door opening
  205.         ROUTE TOUCHDOOR1.touchTime TO DOOR_TIMER1.startTime
  206.         ROUTE DOOR_TIMER1.fraction_changed TO DOORORI_INT1.set_fraction
  207.         ROUTE DOORORI_INT1.value_changed TO DOOR1.rotation
  208.         # switching between open/close
  209.         ROUTE TOUCHDOOR1.touchTime TO SWITCHDOOR_SCRIPT1.touched
  210.     }
  211. }
  212.  
  213. #cabinet (tech)
  214. PROTO LibraryObject53 [field SFColor color 0 0 0]
  215. {
  216.     Group    {    children [
  217.         Rectangle {color IS    color}
  218.         # handles
  219.         Transform    {
  220.             translation    .1 .5 1
  221.             scale .05 .02 .02
  222.             children Rectangle {}
  223.         }
  224.     ]}
  225. }
  226.  
  227. #cabinet 2 (tech)
  228. PROTO LibraryObject20 [field SFColor color 0 0 0]
  229. {
  230.     Group    {    children [
  231.         Rectangle {color IS    color}
  232.         # handles
  233.         Transform    {
  234.             translation    .44 .5 1
  235.             scale .03 .02 .02
  236.             children Rectangle {}
  237.         }
  238.         Transform    {
  239.             translation    .54 .5 1
  240.             scale .03 .02 .02
  241.             children Rectangle {}
  242.         }
  243.         Shape    {
  244.             appearance Appearance { material    Material {diffuseColor 0 0 0}}
  245.             geometry
  246.                 IndexedLineSet {
  247.                     coord    Coordinate {
  248.                         point    [.5 1 1.01, .5 0 1.01]
  249.                     }
  250.                     coordIndex [0 1 -1]
  251.             }
  252.         }
  253.     ]}
  254. }
  255.  
  256. #cabinet
  257. PROTO    LibraryObject21 [field SFColor color 0 0 0]
  258. {
  259.     LibraryObject53    {color IS    color}
  260. }
  261.  
  262. #cabinet 2
  263. PROTO    LibraryObject22 [field SFColor color 0 0 0]
  264. {
  265.     LibraryObject20    {color IS    color}
  266. }
  267.  
  268. #chest of drawers
  269. PROTO    LibraryObject67 [field SFColor color 0 0 0]
  270. {
  271.     Group    {    children [
  272.         Rectangle {color IS    color}
  273.         # three drawers
  274.         Shape    {
  275.             appearance Appearance { material    Material {diffuseColor 0 0 0}}
  276.             geometry
  277.                 IndexedLineSet {
  278.                     coord    Coordinate {
  279.                         point    [.06 .1 1.01, .94 .1 1.01, .94 .3 1.01, .06 .3 1.01,
  280.                         .06 .4 1.01, .94 .4 1.01, .94 .6 1.01, .06 .6 1.01,
  281.                         .06 .7 1.01, .94 .7 1.01, .94 .9 1.01, .06 .9 1.01, ]
  282.                     }
  283.                     coordIndex [0 1 2 3 0 -1, 4 5 6 7 4 -1, 8 9 10 11 8 -1]
  284.             }
  285.         }
  286.     ]}
  287. }
  288.  
  289. #sigle bed
  290. PROTO    LibraryObject23 [field SFColor color 0 0 0]
  291. {
  292.     Group    {    children [
  293.         Rectangle    { color    IS color }
  294.         Transform {
  295.             translation    .07 1 .35
  296.             scale    .86 .18 .6
  297.             children DEF PILLOW Shape {
  298.                 appearance Appearance { material Material    { diffuseColor IS    color    }}
  299.                 geometry Extrusion {
  300.                     crossSection [0 0, 0 1, 1 1, 1 0, 0 0]
  301.                     solid    TRUE
  302.                     creaseAngle    4
  303.                 }
  304.             }
  305.         }
  306.         Transform {
  307.             translation    .07 1 .05
  308.             scale    .86 .18 .22
  309.             children USE PILLOW
  310.         }
  311.     ]}
  312. }
  313.  
  314. #double bed
  315. PROTO    LibraryObject24 [field SFColor color 0 0 0]
  316. {
  317.     Group    {    children [
  318.         Rectangle    { color    IS color }
  319.         Transform {
  320.             translation    .04 1 .35
  321.             scale    .92 .18 .6
  322.             children DEF PILLOW Shape {
  323.                 appearance Appearance { material Material    { diffuseColor IS    color    }}
  324.                 geometry Extrusion {
  325.                     crossSection [0 0, 0 1, 1 1, 1 0, 0 0]
  326.                     solid    TRUE
  327.                     creaseAngle    4
  328.                 }
  329.             }
  330.         }
  331.         Transform {
  332.             translation    .04 1 .05
  333.             scale    .42 .18 .22
  334.             children USE PILLOW
  335.         }
  336.         Transform {
  337.             translation    .54 1 .05
  338.             scale    .42 .18 .22
  339.             children USE PILLOW
  340.         }
  341.     ]}
  342. }
  343.  
  344. #patio umbrella
  345. PROTO    LibraryObject25 [field SFColor color 0 0 0]
  346. {
  347.     Group    {    children [
  348.         Transform { #stand
  349.             translation    .47 0 .47
  350.             scale    .03 .98 .03
  351.             children Ellipse { color IS    color    }
  352.         }
  353.         Transform    {# top
  354.             translation    .5 .2 .5
  355.             rotation 1 0 0 -1.57
  356.             scale    .5 .5 .8
  357.             children
  358.             Shape    {
  359.                 appearance Appearance { material Material    { diffuseColor IS    color    }}
  360.                 geometry Extrusion {
  361.                     crossSection [0 1, 1 .7]
  362.                     spine    [0 0 0, 0 0 0, 0 0 0,
  363.                                  0 0 0, 0 0 0, 0 0 0,
  364.                                0 0 0, 0 0 0, 0 0 0]
  365.                     orientation    [0 0 1 0,     0 0 1 .78,  0 0 1 1.57,
  366.                                  0 0 1 2.35,  0 0 1 3.14, 0 0 1 -2.35,
  367.                                              0 0 1 -1.57, 0 0 1 -.78, 0 0 1 0]
  368.                     solid    FALSE
  369.                     beginCap FALSE
  370.                     endCap FALSE
  371.                 }
  372.             }
  373.         }
  374.     ]}
  375. }
  376. #waste basket
  377. PROTO    LibraryObject27 [field SFColor color 0 0 0]
  378. {
  379.     Transform    {
  380.         translation    .5 0 .5
  381.         scale    .5 1 .5
  382.         children Shape {
  383.             appearance Appearance    {material Material {diffuseColor IS color}}
  384.             geometry Extrusion {
  385.                 crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  386.                 scale    [.8 .8, 1 1]
  387.                 solid    FALSE
  388.                 endCap FALSE
  389.                 creaseAngle    1
  390.             }
  391.         }
  392.     }
  393. }
  394. #lamp
  395. PROTO    LibraryObject26 [field SFColor color 0 0 0]
  396. {
  397.     Group    {    children [
  398.         Transform    { # rotated waste basket as a shield
  399.             translation    0 1 .5
  400.             rotation 1 0 0 3.1415
  401.             scale 1 .33 1 
  402.             children Transform {
  403.                 translation    0 0 -.5
  404.                 children LibraryObject27    {color IS    color    }
  405.             }
  406.         }
  407.         Transform    { #stand
  408.             translation    .45 0 .45
  409.             scale    .1 .95 .1
  410.             children Ellipse { color .7 .7 .7} # gray
  411.         }
  412.         Transform    {
  413.             scale    1 .05 1
  414.             children Ellipse {color    IS color }
  415.         }
  416.     ]}
  417. }
  418. #chair
  419. PROTO    LibraryObject28 [field SFColor color 0 0 0]
  420. {
  421.     Group    {    children [
  422.         Transform    { #left    arm
  423.             scale    .13 .7 1
  424.             children Rectangle {color    IS color }
  425.         }
  426.         Transform    { #right arm
  427.             translation    .87 0 0
  428.             scale    .13 .7 1
  429.             children Rectangle {color    IS color }
  430.         }
  431.         Transform    { #base
  432.             translation    .05 0 0
  433.             scale    .9 .5 1
  434.             children Rectangle {color    IS color }
  435.         }
  436.         Transform    { #back
  437.             translation    .13 0 0
  438.             scale    .74 1 .2
  439.             children Rectangle {color    IS color }
  440.         }
  441.     ]}
  442. }
  443. #sofa 2
  444. PROTO    LibraryObject29 [field SFColor color 0 0 0]
  445. {
  446.     LibraryObject28 {color IS    color    }
  447. }
  448. #sofa 3
  449. PROTO    LibraryObject30 [field SFColor color 0 0 0]
  450. {
  451.     LibraryObject28 {color IS    color    }
  452. }
  453. #couch
  454. PROTO    LibraryObject31 [field SFColor color 0 0 0]
  455. {
  456.     Group    {    children [
  457.         Transform    { #base
  458.             scale    1 .5 1
  459.             children Rectangle {color    IS color }
  460.         }
  461.         Transform    { #back
  462.             scale    1 1 .2
  463.             children Rectangle {color    IS color }
  464.         }
  465.     ]}
  466. }
  467. #chair 2
  468. PROTO    LibraryObject32 [field SFColor color 0 0 0]
  469. {
  470.     Group    {    children [
  471.         DEF NOHA Transform    {
  472.             scale    .1 .5 .1
  473.             children Rectangle {color    IS color }
  474.         }
  475.         Transform    {
  476.             translation    .9 0 0
  477.             children USE NOHA
  478.         }
  479.         Transform    {
  480.             translation    .9 0 .9
  481.             children USE NOHA
  482.         }
  483.         Transform    {
  484.             translation    0 0 .9
  485.             children USE NOHA
  486.         }
  487.         Transform    { #base
  488.             translation    0 .44 0
  489.             scale    1 .07 1
  490.             children Rectangle {color    IS color }
  491.         }
  492.         Transform    { #back
  493.             translation    0 .5 0
  494.             scale    1 .5 .1
  495.             children Rectangle {color    IS color }
  496.         }
  497.     ]}
  498. }
  499. #chair 3
  500. PROTO    LibraryObject81 [field SFColor color 0 0 0]
  501. {
  502.     Group    {    children [
  503.         Transform    {
  504.             translation    .15 0 .15
  505.             scale    .1 1 .1
  506.             children Rectangle {color    IS color }
  507.         }
  508.         Transform    {
  509.             translation    .75 0 .15
  510.             scale    .1 1 .1
  511.             children Rectangle {color    IS color }
  512.         }
  513.         Transform    {
  514.             translation    .75 0 .75
  515.             scale    .1 .5 .1
  516.             children Rectangle {color    IS color }
  517.         }
  518.         Transform    {
  519.             translation    .15 0 .75
  520.             scale    .1 .5 .1
  521.             children Rectangle {color    IS color }
  522.         }
  523.         Transform    { #base
  524.             translation    0 .44 0
  525.             scale    1 .07 1
  526.             children Ellipse {color    IS color }
  527.         }
  528.         Transform    { #back
  529.             translation    .1 .7 .15
  530.             scale    .8 .3 .1
  531.             children Rectangle {color    IS color }
  532.         }
  533.     ]}
  534. }
  535. #bar stool
  536. PROTO    LibraryObject33 [field SFColor color 0 0 0]
  537. {
  538.     Group    {    children [
  539.         Transform    {
  540.             translation    .15 0 .15
  541.             scale    .1 1 .1
  542.             children Rectangle {color    IS color }
  543.         }
  544.         Transform    {
  545.             translation    .75 0 .15
  546.             scale    .1 1 .1
  547.             children Rectangle {color    IS color }
  548.         }
  549.         Transform    {
  550.             translation    .75 0 .75
  551.             scale    .1 1 .1
  552.             children Rectangle {color    IS color }
  553.         }
  554.         Transform    {
  555.             translation    .15 0 .75
  556.             scale    .1 1 .1
  557.             children Rectangle {color    IS color }
  558.         }
  559.         Transform    { #base
  560.             translation    0 .9 0
  561.             scale    1 .1 1
  562.             children Ellipse {color    IS color }
  563.         }
  564.     ]}
  565. }
  566. #office chair
  567. PROTO    LibraryObject34 [field SFColor color 0 0 0]
  568. {
  569.     Group    {    children [
  570.         Transform    { #stand
  571.             rotation 0 1 0 -.78
  572.             scale    1.4 .08 .05
  573.             children Rectangle {color    IS color }
  574.         }
  575.         Transform    {
  576.             translation 0 0 1
  577.             rotation 0 1 0 .78
  578.             scale    1.4 .08 .05
  579.             children Rectangle {color    IS color }
  580.         }
  581.         Transform    {
  582.             translation    .45 0 .45
  583.             scale    .1 .4 .1
  584.             children Ellipse {color    IS color }
  585.         }
  586.         Transform    { #base
  587.             translation    0 .4 0
  588.             scale    1 .05 1
  589.             children Rectangle {color    IS color }
  590.         }
  591.         Transform    { #back
  592.             translation .45 .4 0
  593.             scale    .1 .3 .07
  594.             children Rectangle {color    IS color }
  595.         }
  596.         Transform    { #back
  597.             translation    0 .6 0
  598.             scale    1 .4 .1
  599.             children Rectangle {color    IS color }
  600.         }
  601.     ]}
  602. }
  603. #office chair 2
  604. PROTO    LibraryObject35 [field SFColor color 0 0 0]
  605. {
  606.     Group    {    children [
  607.         LibraryObject34 { color    IS color }
  608.         Transform    { #left arm
  609.             translation 0 .65 .15
  610.             scale    .07 .04 .6
  611.             children Rectangle {color    IS color }
  612.         }
  613.         Transform    { #left arm
  614.             translation .01 .45 .15
  615.             scale    .05 .2 .05
  616.             children Rectangle {color    IS color }
  617.         }
  618.         Transform    { #right arm
  619.             translation .93 .65 .15
  620.             scale    .07 .04 .6
  621.             children Rectangle {color    IS color }
  622.         }
  623.         Transform    { #right arm
  624.             translation .94 .45 .15
  625.             scale    .05 .2 .05
  626.             children Rectangle {color    IS color }
  627.         }
  628.     ]}
  629. }
  630. #square table
  631. PROTO    LibraryObject36 [field SFColor color 0 0 0]
  632. {
  633.     Group    {    children [
  634.         Transform    { #only one leg
  635.             translation .47 0 .47
  636.             scale    .06 .9 .06
  637.             children Ellipse {color    IS color }
  638.         }
  639.         Transform    {
  640.             translation .25 0 .25
  641.             scale    .5 .05 .5
  642.             children Ellipse {color    IS color }
  643.         }
  644.         Transform    { #desk
  645.             translation    0 .9 0
  646.             scale    1 .1 1
  647.             children Rectangle {color    IS color }
  648.         }
  649.     ]}
  650. }
  651. #round table
  652. PROTO    LibraryObject76 [field SFColor color 0 0 0]
  653. {
  654.     Group    {    children [
  655.         Transform    { #only one leg
  656.             translation .47 0 .47
  657.             scale    .06 .9 .06
  658.             children Ellipse {color    IS color }
  659.         }
  660.         Transform    {
  661.             translation .25 0 .25
  662.             scale    .5 .05 .5
  663.             children Ellipse {color    IS color }
  664.         }
  665.         Transform    { #desk
  666.             translation    0 .9 0
  667.             scale    1 .1 1
  668.             children Ellipse {color    IS color }
  669.         }
  670.     ]}
  671. }
  672. #rectangular table
  673. PROTO    LibraryObject37 [field SFColor color 0 0 0]
  674. {
  675.     Group    {    children [
  676.         DEF NOHA Transform    {
  677.             scale    .05 .9 .05
  678.             children Rectangle {color    IS color }
  679.         }
  680.         Transform    {
  681.             translation    .95 0 0
  682.             children USE NOHA
  683.         }
  684.         Transform    {
  685.             translation    .95 0 .95
  686.             children USE NOHA
  687.         }
  688.         Transform    {
  689.             translation    0 0 .95
  690.             children USE NOHA
  691.         }
  692.         Transform    { #desk
  693.             translation    0 .9 0
  694.             scale    1 .1 1
  695.             children Rectangle {color    IS color }
  696.         }
  697.     ]}
  698. }
  699. #elliptical table
  700. PROTO    LibraryObject38 [field SFColor color 0 0 0]
  701. {
  702.     Group    {    children [
  703.         Transform    {
  704.             translation    .15 0 .15
  705.             children
  706.             DEF NOHA Transform    {
  707.                 scale    .05 .9 .05
  708.                 children Rectangle {color    IS color }
  709.             }
  710.         }
  711.         Transform    {
  712.             translation    .78 0 .15
  713.             children USE NOHA
  714.         }
  715.         Transform    {
  716.             translation    .78 0 .78
  717.             children USE NOHA
  718.         }
  719.         Transform    {
  720.             translation    .15 0 .78
  721.             children USE NOHA
  722.         }
  723.         Transform    { #desk
  724.             translation    0 .9 0
  725.             scale    1 .1 1
  726.             children Ellipse {color    IS color }
  727.         }
  728.     ]}
  729. }
  730. #Octagonal Table
  731. PROTO    LibraryObject84 [field SFColor color 0 0 0]
  732. {
  733.     Group    {    children [
  734.         Transform    { #only one leg
  735.             translation .47 0 .47
  736.             scale    .06 .9 .06
  737.             children Ellipse {color    IS color }
  738.         }
  739.         Transform    {
  740.             translation .25 0 .25
  741.             scale    .5 .05 .5
  742.             children Ellipse {color    IS color }
  743.         }
  744.         Transform    { #desk
  745.             translation    0 .9 0
  746.             scale    1 .1 1
  747.             children Shape    {
  748.                 appearance Appearance { material Material    { diffuseColor IS    color    }}
  749.                 geometry Extrusion {
  750.                     crossSection [.7 1, 1 .7, 1 .3, .7 0, .3 0, 0 .3, 0 .7, .3 1, .7 1]
  751.                 }
  752.             }
  753.         }
  754.     ]}
  755. }
  756. #table end 1
  757. PROTO    LibraryObject39 [field SFColor color 0 0 0]
  758. {
  759.     Transform    {
  760. #        translation    0 .9 0
  761. #        scale 1 .1 1
  762.         children
  763.         Shape    {
  764.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  765.             geometry Extrusion {
  766.                 crossSection [0 0, .3 .7, 1 1, 1 0, 0 0]
  767.                 creaseAngle    1
  768.             }
  769.         }
  770.     }
  771. }
  772. #table end 2
  773. PROTO    LibraryObject40 [field SFColor color 0 0 0]
  774. {
  775.     Transform    {
  776. #        translation    0 .9 0
  777.         scale 1 1 .5
  778.         children
  779.         Shape    {
  780.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  781.             geometry Extrusion {
  782.                 crossSection [1 0, .3 .3, 0 1, .3 1.7, 1 2, 1 0]
  783.                 creaseAngle    1
  784.             }
  785.         }
  786.     }
  787. }
  788. #Table Ending 3
  789. PROTO    LibraryObject85 [field SFColor color 0 0 0]
  790. {
  791.     Transform    {
  792. #        translation    0 .9 0
  793.         scale 3.3 1 1
  794.         children
  795.         Shape    {
  796.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  797.             geometry Extrusion {
  798.                     crossSection [.3 0, 0 .3, 0 .7, .3 1, .3 0]
  799.             }
  800.         }
  801.     }
  802. }
  803. #work surface 1
  804. PROTO    LibraryObject41 [field SFColor color 0 0 0]
  805. {
  806.     Transform    {
  807. #        translation    0 .9 0
  808. #        scale 1 .1 1
  809.         children
  810.         Shape    {
  811.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  812.             geometry Extrusion {
  813.                 crossSection [0 0, 1 0, 1 .56, .56 .56, .56 1, 0 1, 0 0]
  814.                 ccw    FALSE
  815.                 convex FALSE
  816.             }
  817.         }
  818.     }
  819. }
  820. #work surface 2
  821. PROTO    LibraryObject42 [field SFColor color 0 0 0]
  822. {
  823.     Transform    {
  824. #        translation    0 .9 0
  825. #        scale 1 .1 1
  826.         children
  827.         Shape    {
  828.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  829.             geometry Extrusion {
  830.                 crossSection [0 0, 1 0, 1 .56, .75 .56, .56 .75, .56 1, 0 1, 0 0]
  831.                 ccw    FALSE
  832.                 convex FALSE
  833.             }
  834.         }
  835.     }
  836. }
  837. #ping pong
  838. PROTO    LibraryObject43 [field SFColor color 0 0 0]
  839. {
  840.     Group    {    children [
  841.         Transform    {
  842.             translation    .15 0 .05
  843.             children DEF NOHA Transform    {
  844.                 scale    .02 .97 .04
  845.                 children Ellipse {color    .7 .7 .7}
  846.  
  847.             }
  848.         }
  849.         Transform    {
  850.             translation    .85 0 .05
  851.             children USE NOHA
  852.         }
  853.         Transform    {
  854.             translation    .85 0 .9
  855.             children USE NOHA
  856.         }
  857.         Transform    {
  858.             translation    .15 0 .9
  859.             children USE NOHA
  860.         }
  861.         Transform    { #desk
  862.             translation    0 .97 0
  863.             scale    1 .03 1
  864.             children Rectangle {color    IS color }
  865.         }
  866.         Shape    {
  867.             appearance Appearance    { material Material    { emissiveColor    .9 .9 .9}}
  868.             geometry IndexedFaceSet    {
  869.                 coord    Coordinate { point [0 1.01 0, 1 1.01 0, 1 1.01 1, 0 1.01 1, #outer: 0-3
  870.                     .005 1.01 .01, .995 1.01 .01, .995 1.01 .99, .005 1.01 .99 #inner: 4-7
  871.                     .495 1.01 0, .505 1.01 0, .505 1.01 1, .495 1.01 1,  # half: 8-11
  872.                     0 1.01 .49, 0 1.01 .51, 1 1.01 .51, 1 1.01 .49 ]# half: 12-15
  873.                 }
  874.                 coordIndex [11 10 9 8 -1, 4 5 1 0 -1 , 6 7 3 2 -1 #half, back and front lines
  875.                     0 3 7 4 -1, 5 6 2 1 -1, 12 13 14 15 -1 ]     # left and right line and the last half
  876.             }
  877.         }
  878.         Transform    { #net
  879.             translation    .502 1 0
  880.             rotation 0 1 0 -1.57
  881.             scale    1 .2 .005
  882.             children TranspRect {transparency .3} # black with transparency
  883.         }
  884.         Transform    { # net top
  885.             translation    .5 1.21 .5
  886.             children Shape {
  887.                 appearance Appearance    { material Material    { emissiveColor    .9 .9 .9}}
  888.                 geometry Box {size .005 .015 1 }
  889.             }
  890.         }
  891.     ]}
  892. }
  893. #folding table
  894. PROTO    LibraryObject44 [field SFColor color 0 0 0]
  895. {
  896.     LibraryObject38 {color IS    color    }
  897. }
  898. #pool table
  899. PROTO    LibraryObject45 [field SFColor color 0 0 0]
  900. {
  901.     Group    {    children [
  902.         DEF NOHA Transform    {
  903.             scale    .07 .9 .07
  904.             children Rectangle {} #black
  905.         }
  906.         Transform    {
  907.             translation    .93 0 0
  908.             children USE NOHA
  909.         }
  910.         Transform    {
  911.             translation    .93 0 .93
  912.             children USE NOHA
  913.         }
  914.         Transform    {
  915.             translation    0 0 .93
  916.             children USE NOHA
  917.         }
  918.         Transform    { #black sides
  919.             translation    0 .7 0
  920.             scale    1 .3 .1
  921.             children Rectangle {}
  922.         }
  923.         Transform    {
  924.             translation    0 .7 .9
  925.             scale    1 .3 .1
  926.             children Rectangle {}
  927.         }
  928.         Transform    {
  929.             translation    0 .7 0
  930.             scale    .1 .3 1
  931.             children Rectangle {}
  932.         }
  933.         Transform    {
  934.             translation    .9 .7 0
  935.             scale    .1 .3 1
  936.             children Rectangle {}
  937.         }
  938.         Transform    { #desk
  939.             translation    .05 .8 .05
  940.             scale    .9 .15 .9
  941.             children Rectangle {color    IS color }
  942.         }
  943.     ]}
  944. }
  945. #bath tub
  946. PROTO    LibraryObject46 [field SFColor color 0 0 0]
  947. {
  948.     Group    {    children [
  949.         Transform    { # inlay with rounded corners
  950.             translation    .5 0 .5
  951.             scale    .5 1 .5
  952.             children Shape {
  953.                 appearance Appearance    {material    Material {diffuseColor IS    color    emissiveColor .1 .1 .1}}
  954.                 geometry Extrusion    {
  955.                     crossSection [-1 -1, 1 -1, 1 1, -1 1, -1 -1]
  956.                     spine    [0 .2 0, 0 .4 0, 0 .9 0, 0 1 0, 0 1 0, 0 .9 0, 0 0 0]
  957.                     scale    [.8 .8, .8 .8,   .8 .8, .8 .8,  1 1,   1 1,    1 1]
  958.                     solid    FALSE
  959.                     beginCap TRUE
  960.                     endCap TRUE
  961.                     creaseAngle    3
  962.                 }
  963.             }
  964.         }
  965.     ]}
  966. }
  967. #corner bath
  968. PROTO    LibraryObject80 [field SFColor color 0 0 0]
  969. {
  970.     Group    {    children [
  971.         Transform    {
  972.             rotation 1 0 0 -1.57
  973.             children
  974.             Shape    {
  975.                 appearance Appearance { material Material    { diffuseColor IS    color    emissiveColor .1 .1 .1}}
  976.                 geometry Extrusion {
  977.                     # it consists of many point due to rounded corners, looks like mirrored L
  978.                     crossSection [0 0, 1 0, 1 .9, 1 1, .9 1, .9 .9, .9 .3, .9 .1, .7 .1, 0 .1, 0 0]
  979.                     spine    [0 0 0, 0 0 0, 0 0 0, 0 0 0, 0 0 0]
  980.                     orientation    [0 0 1 -1.57, 0 0 1 -1.17, 0 0 1 -.78, 0 0 1 -.39, 0 0 1 0]
  981.                     beginCap FALSE
  982.                     endCap FALSE
  983.                     ccw    FALSE
  984.                     creaseAngle    2
  985.                 }
  986.             }
  987.         }
  988.         Transform    { # inlay with rounded corners
  989.             translation    .5 0 .5
  990.             scale    .5 1 .5
  991.             children Shape {
  992.                 appearance Appearance    {material    Material {diffuseColor IS    color    emissiveColor .1 .1 .1}}
  993.                 geometry Extrusion    {
  994.                     crossSection [-1 1, -1 -1, 1 -1]
  995.                     spine    [0 .1 0, 0 .4 0, 0 .9 0, 0 1 0, 0 1 0, 0 .9 0, 0 0 0]
  996.                     scale    [.8 .8, .8 .8,   .8 .8, .8 .8,  1 1,   1 1,    1 1]
  997.                     solid    FALSE
  998.                     beginCap FALSE
  999.                     endCap FALSE
  1000.                     creaseAngle    3
  1001.                 }
  1002.             }
  1003.         }
  1004.         Transform    {
  1005.             translation    .5 .21 .5
  1006.             scale    .05 .01 .05
  1007.             children Ellipse {}
  1008.         }
  1009.     ]}
  1010. }
  1011. #shower
  1012. PROTO    LibraryObject47 [field SFColor color 0 0 0]
  1013. {
  1014.     Group    {    children [
  1015.       LibraryObject46 {color IS    color    }
  1016.         Transform    {
  1017.             translation    .7 .21 .25
  1018.             scale    .06 .01 .06
  1019.             children Ellipse {}
  1020.         }
  1021.     ]}
  1022. }
  1023. #corner shower
  1024. PROTO    LibraryObject48 [field SFColor color 0 0 0]
  1025. {
  1026.     LibraryObject80 {color IS    color    }
  1027. }
  1028. #wall sink
  1029. PROTO    LibraryObject49 [field SFColor color 0 0 0]
  1030. {
  1031.     Group    {    children [
  1032.         LibraryObject46 {color IS    color    }
  1033.         Transform    {
  1034.             translation    .47 .21 .5
  1035.             scale    .06 .01 .06
  1036.             children Ellipse {}
  1037.         }
  1038.         Transform    {
  1039.             translation    .47 1 .05
  1040.             scale    .06 .32 .06
  1041.             children Ellipse {color .7 .7 .7}
  1042.         }
  1043.         Transform    {
  1044.             translation    .485 1.2 .05
  1045.             scale    .03 .06 .25
  1046.             children Rectangle {color .7 .7 .7}
  1047.         }
  1048.         Transform    {
  1049.             translation    .47 1.3 .1
  1050.             rotation 1 0 0 -.5
  1051.             scale    .06 .03 .2
  1052.             children Rectangle {color .7 .7 .7}
  1053.         }
  1054.     ]}
  1055. }
  1056. #bidet
  1057. PROTO    LibraryObject51 [field SFColor color 0 0 0]
  1058. {
  1059.     Transform    {
  1060.         translation    .5 0 .5
  1061.         scale .5 1 .5
  1062.         children
  1063.         Shape    {
  1064.             appearance Appearance { material Material    { diffuseColor IS    color}}
  1065.             geometry Extrusion {
  1066.                 crossSection [1 0.2, .7 .7, 0.2 1, -.7 .7, -1 0.2, -.4 -1, .4 -1,    1 0.2]
  1067.                 scale    [.7 .7, 1 1]
  1068.                 creaseAngle    1.5
  1069.                 ccw    FALSE                        
  1070.             }
  1071.         }
  1072.     }
  1073. }
  1074. #toilet
  1075. PROTO    LibraryObject50 [field SFColor color 0 0 0]
  1076. {
  1077.     Group    {    children [
  1078.         Transform    { #base
  1079.             scale    1 .6 1
  1080.             children LibraryObject51 {color IS    color}
  1081.         }
  1082.         Transform    { #back
  1083.             translation    .1 .3 0
  1084.             scale    .8 .7 .2
  1085.             children Rectangle {color    IS color }
  1086.         }
  1087.     ]}
  1088. }
  1089. #radiator
  1090. PROTO    LibraryObject52 [field SFColor color 0 0 0]
  1091. {
  1092.     Rectangle    {color IS    color    }
  1093. }
  1094. #oven
  1095. PROTO    LibraryObject54 [field SFColor color 0 0 0]
  1096. {
  1097.     Group    {    children [
  1098.         Rectangle    {color IS    color    }
  1099.         Transform    {
  1100.             translation    .2 1 .2
  1101.             scale    .2 .03 .2
  1102.             children Ellipse {}
  1103.         }
  1104.         Transform    {
  1105.             translation    .2 1 .6
  1106.             scale    .2 .03 .2
  1107.             children Ellipse {}
  1108.         }
  1109.         Transform    {
  1110.             translation    .6 1 .2
  1111.             scale    .2 .03 .2
  1112.             children Ellipse {}
  1113.         }
  1114.         Transform    {
  1115.             translation    .6 1 .6
  1116.             scale    .2 .03 .2
  1117.             children Ellipse {}
  1118.         }
  1119.         Transform    {
  1120.             translation    .2 .3 1
  1121.             scale    .6 .4 .05
  1122.             children Rectangle {}
  1123.         }
  1124.     ]}
  1125. }
  1126. #refrigerator
  1127. PROTO    LibraryObject55 [field SFColor color 0 0 0]
  1128. {
  1129.     Group    {    children [
  1130.         Rectangle    {color IS    color    }
  1131.         Transform    { #handle
  1132.             translation    .03 .6 1
  1133.             scale    .06 .2 .05
  1134.             children Rectangle {color IS color }
  1135.         }
  1136.     ]}
  1137. }
  1138. #dish washer
  1139. PROTO    LibraryObject56 [field SFColor color 0 0 0]
  1140. {
  1141.     Group    {    children [
  1142.         Rectangle    {color IS    color    }
  1143.         Transform    {
  1144.             translation    .8 .95 1
  1145.             rotation 1 0 0 1.57
  1146.             scale    .1 .02 .08
  1147.             children Ellipse {color IS    color    }
  1148.         }
  1149.         Transform    {
  1150.             translation    .65 .95 1
  1151.             rotation 1 0 0 1.57
  1152.             scale    .1 .02 .08
  1153.             children Ellipse {color IS    color    }
  1154.         }
  1155.     ]}
  1156. }
  1157. #washing machine
  1158. PROTO    LibraryObject57 [field SFColor color 0 0 0]
  1159. {
  1160.     Group    {    children [
  1161.         LibraryObject56    {color IS    color    }
  1162.         Transform    {
  1163.             translation    .25 .7 1
  1164.             rotation 1 0 0 1.57
  1165.             scale    .5 .05 .4
  1166.             children Ellipse {}
  1167.         }
  1168.     ]}
  1169. }
  1170. #this used to be bath tub
  1171. PROTO    SinkHelper [field SFColor color 0 0 0] 
  1172. {
  1173.     Group    {    children [
  1174.         Transform    { #base
  1175.             translation    .05 0 .05
  1176.             scale    .9 .15 .9
  1177.             children Rectangle {color    IS color }
  1178.         }
  1179.         Transform    { #sides
  1180.             scale    1 1 .05
  1181.             children Rectangle {color    IS color }
  1182.         }
  1183.         Transform    {
  1184.             scale    .05 1 1
  1185.             children Rectangle {color    IS color }
  1186.         }
  1187.         Transform    {
  1188.             translation .95 0 0
  1189.             scale    .05 1 1
  1190.             children Rectangle {color    IS color }
  1191.         }
  1192.         Transform    {
  1193.             translation    0 0 .95
  1194.             scale    1 1 .05
  1195.             children Rectangle {color    IS color }
  1196.         }
  1197.         Transform    {
  1198.             translation    .47 .21 .4
  1199.             scale    .06 .01 .06
  1200.             children Ellipse {}
  1201.         }
  1202.     ]}
  1203. }
  1204. #sink
  1205. PROTO    LibraryObject58 [field SFColor color 0 0 0]
  1206. {
  1207.     Group    {    children [
  1208.         Transform    {
  1209.             translation    .6 0 0
  1210.             scale    .4 1 1
  1211.             children    Rectangle    {color IS    color    }
  1212.         }
  1213.         Transform    {
  1214.             scale    .6 1 1
  1215.             children SinkHelper {color    IS color }
  1216.         }
  1217.     ]}
  1218. }
  1219. #double sink
  1220. PROTO    LibraryObject59 [field SFColor color 0 0 0]
  1221. {
  1222.     Group    {    children [
  1223.         Transform    {
  1224.             translation    .7 0 0
  1225.             scale    .3 1 1
  1226.             children    Rectangle    {color IS    color    }
  1227.         }
  1228.         Transform    {
  1229.             translation    .35 0 0
  1230.             scale    .35 1 1
  1231.             children SinkHelper {color    IS color }
  1232.         }
  1233.         Transform    {
  1234.             scale    .35 1 1
  1235.             children SinkHelper {color    IS color }
  1236.         }
  1237.     ]}
  1238. }
  1239. #TV/Monitor
  1240. PROTO    LibraryObject60 [field SFColor color 0 0 0]
  1241. {
  1242.     Group    {    children [
  1243.         Transform    { #screen
  1244.             translation    0 0 .5
  1245.             scale    1 1 .44
  1246.             children    Rectangle    {color IS    color    }
  1247.         }
  1248.         Transform    {
  1249.             translation    .1 .25 .9
  1250.             scale    .8 .6 .1
  1251.             children    Rectangle    {}
  1252.         }
  1253.         Shape    {#back
  1254.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  1255.             geometry Extrusion {
  1256.                 crossSection [.25 0, 0 .5, 1 .5, .75 0, .25 0]
  1257.             }
  1258.         }
  1259.     ]}
  1260. }
  1261. #keyboard
  1262. PROTO    LibraryObject61 [field SFColor color 0 0 0]
  1263. {
  1264.     Rectangle    {color IS    color    }
  1265. }
  1266. #computer case
  1267. PROTO    LibraryObject62 [field SFColor color 0 0 0]
  1268. {
  1269.     Rectangle    {color IS    color    }
  1270. }
  1271. #printer
  1272. PROTO    LibraryObject63 [field SFColor color 0 0 0]
  1273. {
  1274.     Group    {    children [
  1275.         Transform    {#body
  1276.             scale    1 1 .6
  1277.             children Rectangle {color IS color }
  1278.         }
  1279.         Transform    {#paper tray
  1280.             translation    .1 0 0
  1281.             scale    .65 .2 1
  1282.             children Rectangle {color IS color }
  1283.         }
  1284.         Transform    {
  1285.             translation    .1 0 .3
  1286.             scale    .05 .6 .7
  1287.             children Rectangle {color IS color }
  1288.         }
  1289.         Transform    {
  1290.             translation    .7 0 .3
  1291.             scale    .05 .6 .7
  1292.             children Rectangle {color IS color }
  1293.         }
  1294.     ]}
  1295. }
  1296. #phone
  1297. PROTO    LibraryObject64 [field SFColor color 0 0 0]
  1298. {
  1299.     Group    {    children [
  1300.         Transform    {#body
  1301.             scale    1 .6 1
  1302.             children Rectangle {color IS color }
  1303.         }
  1304.         Transform    {
  1305.             translation    .1 0 .1
  1306.             scale    .3 1 .8
  1307.             children Rectangle {color IS color }
  1308.         }
  1309.     ]}
  1310. }
  1311. #copier
  1312. PROTO    LibraryObject66 [field SFColor color 0 0 0]
  1313. {
  1314.     Group    {    children [
  1315.         Transform    {#body
  1316.             translation    0 .4 .1
  1317.             scale    1 .15 .65
  1318.             children Rectangle {color IS color }
  1319.         }
  1320.         Transform    { #trays
  1321.             translation    .15 0 0
  1322.             scale    .6 1 1
  1323.             children Rectangle {color IS color }
  1324.         }
  1325.     ]}
  1326. }
  1327. #plant
  1328. PROTO    LibraryObject68 [field SFColor color 0 0 0]
  1329. {
  1330.     Transform    {
  1331.         translation    .5 0 .5
  1332.         children [
  1333.             Transform    {
  1334.                 scale    .7 1 .5
  1335.                 children
  1336.                 DEF    LEAF Shape {
  1337.                     appearance Appearance    { material Material    {diffuseColor    IS color }}
  1338.                     geometry IndexedFaceSet    {
  1339.                         coord    Coordinate { point [-.07 0 .05, .07 0 .05, .15 .4 .15, 0 1 .5, -.15 .4 .15]}
  1340.                         coordIndex [0 1 2 3 4 0 -1]
  1341.                         solid    FALSE
  1342.                     }
  1343.                 }
  1344.             }
  1345.             Transform    {#down
  1346.                 rotation 0 1 0 -1
  1347.                 scale    1 .6 1
  1348.                 children USE LEAF
  1349.             }
  1350.             Transform    {
  1351.                 rotation 0 1 0 1
  1352.                 scale    1 .7 1
  1353.                 children USE LEAF
  1354.             }
  1355.             Transform    {
  1356.                 rotation 0 1 0 3
  1357.                 scale    1 .5 1
  1358.                 children USE LEAF
  1359.             }
  1360.             Transform    {
  1361.                 rotation 0 1 0 1.8
  1362.                 scale    .7 1 .6
  1363.                 children USE LEAF
  1364.             }
  1365.             Transform    {
  1366.                 rotation 0 1 0 -1.8
  1367.                 scale    .7 .9 .6
  1368.                 children USE LEAF
  1369.             }
  1370.             Transform    {
  1371.                 rotation 0 1 0 -.8
  1372.                 scale    .7 .8 .2
  1373.                 children USE LEAF
  1374.             }
  1375.             Transform    {
  1376.                 rotation 0 1 0 2.5
  1377.                 scale    .7 .8 .6
  1378.                 children USE LEAF
  1379.             }
  1380.         ]
  1381.     }
  1382. }
  1383. #tree
  1384. PROTO    LibraryObject69 [field SFColor color 0 0 0]
  1385. {
  1386.     Group    {    children [
  1387.         Transform    {
  1388.             translation    .5 .6 .5
  1389.             scale    1 .8 1
  1390.             children Shape {
  1391.                 appearance Appearance    { material Material    {diffuseColor    IS color }}
  1392.                 geometry Sphere    {radius .5}
  1393.             }
  1394.         }
  1395.         Transform    {
  1396.             translation    .4 0 .4
  1397.             scale    .2 .8 .2
  1398.             children Ellipse {color    .5 0 0}
  1399.         }
  1400.     ]}
  1401. }
  1402. #truck
  1403. PROTO    LibraryObject71 [field SFColor color 0 0 0]
  1404. {
  1405.     Group    {    children [
  1406.         Transform    {#body
  1407.             scale    .7 1 1
  1408.             children Rectangle {color IS color }
  1409.         }
  1410.         Transform    {#cabin
  1411.             translation    .6 0 .15
  1412.             scale    .4 .8 .7
  1413.             children Rectangle {color IS color }
  1414.         }
  1415.     ]}
  1416. }
  1417. #tank
  1418. PROTO    LibraryObject72 [field SFColor color 0 0 0]
  1419. {
  1420.     Group    {    children [
  1421.         Transform    {#body
  1422.             scale    .8 .6 1
  1423.             children Rectangle {color IS color }
  1424.         }
  1425.         Transform    {#cabin
  1426.             translation    .16 .51 .1
  1427.             scale    .45 .4 .8
  1428.             children Rectangle {color IS color }
  1429.         }
  1430.         Transform    {
  1431.             translation    .6 .6 .4
  1432.             scale    .07 .25 .2
  1433.             children Rectangle {color IS color }
  1434.         }
  1435.         Transform    {#cannon
  1436.             translation    .6 .75 .48
  1437.             rotation 0 0 1 -1.57
  1438.             scale    .05 .4 .05
  1439.             children Ellipse {color IS color }
  1440.         }
  1441.     ]}
  1442. }
  1443. #spitfire
  1444. PROTO    LibraryObject73 [field SFColor color 0 0 0]
  1445. {
  1446.     Group    {    children [
  1447.         Transform    {#wing
  1448.             translation    .5 .3 0
  1449.             scale    .25 .06 1
  1450.             children Rectangle {color IS color }
  1451.         }
  1452.         Transform    {#body
  1453.             translation    0 .26 .4
  1454.             scale    1 .4 .2
  1455.             children Rectangle {color IS color }
  1456.         }
  1457.         Transform    {#rudder
  1458.             translation    0 .26 .45
  1459.             scale    .15 .74 .1
  1460.             children Rectangle {color IS color }
  1461.         }
  1462.         Transform    {#cabin
  1463.             translation    .5 .26 .42
  1464.             scale    .2 .6 .16
  1465.             children Rectangle {color IS color }
  1466.         }
  1467.     ]}
  1468. }
  1469. #coat rack
  1470. PROTO    LibraryObject74 [field SFColor color 0 0 0]
  1471. {
  1472.     Transform    {
  1473.         translation .5 0 .5
  1474.         children [
  1475.             Transform    {
  1476.                 translation -.025 .08 -.025
  1477.                 scale    .05 .92 .05
  1478.                 children Ellipse {color    IS color}
  1479.             }
  1480.             DEF    S4 Group { children    [
  1481.                 DEF STAND Transform    { # bottom
  1482.                     translation -.02 .08 .03
  1483.                     rotation 1 0 0 -1.65
  1484.                     children [
  1485.                         Transform    {
  1486.                             scale    .04 .4 .012
  1487.                             children Ellipse {color    IS color}
  1488.                         }
  1489.                         Transform    {
  1490.                             translation    0 .38 -.004
  1491.                             rotation 1 0 0 -.8
  1492.                             scale    .04 .07 .025
  1493.                             children Ellipse {color    IS color }
  1494.                         }
  1495.                     ]
  1496.                 }
  1497.                 Transform    {
  1498.                     rotation 0 1 0 1.57
  1499.                     children USE STAND
  1500.                 }
  1501.                 Transform    {
  1502.                     rotation 0 1 0 -1.57
  1503.                     children USE STAND
  1504.                 }
  1505.                 Transform    {
  1506.                     rotation 0 1 0 3.14
  1507.                     children USE STAND
  1508.                 }
  1509.             ]}
  1510.             Transform    {
  1511.                 rotation 1 0 0 3.1415
  1512.                 center 0 .5 0
  1513.                 scale    .8 1 .8
  1514.                 children USE S4
  1515.             }
  1516.         ]
  1517.     }
  1518. }
  1519. #horizontal piano
  1520. PROTO    LibraryObject75 [field SFColor color 0 0 0]
  1521. {
  1522.     Group    {    children [
  1523.         Transform    {#body
  1524.             scale    1 1 .6
  1525.             children Rectangle {color IS color }
  1526.         }
  1527.         Transform    {#cabin
  1528.             translation    0 .3 .6
  1529.             scale    1 .2 .4
  1530.             children Rectangle {color IS color }
  1531.         }
  1532.     ]}
  1533. }
  1534. #grand piano
  1535. PROTO    LibraryObject77 [field SFColor color 0 0 0]
  1536. {
  1537.     Group    {    children [
  1538.         Shape    {#body
  1539.             appearance Appearance { material Material    { diffuseColor IS    color    }}
  1540.             geometry Extrusion {
  1541.                 crossSection [0 .9, 1 .9, 1 .6, .6 .4, .5 .1, .3 0, .1 0, 0 .1, 0 .9]
  1542.                 spine    [0 .5 0, 0 1 0]
  1543.                 convex FALSE
  1544.                 creaseAngle    1.2
  1545.             }
  1546.         }
  1547.         Transform    {#keys
  1548.             translation    0 .5 .9
  1549.             scale    1 .15 .1
  1550.             children Rectangle {color    IS color }
  1551.         }
  1552.         Transform    {
  1553.             translation    .2 0 .2
  1554.             children DEF NOHA Transform    {
  1555.                 scale    .07 .9 .07
  1556.                 children Rectangle { color IS color }
  1557.             }
  1558.         }
  1559.         Transform    {
  1560.             translation    .9 0 .8
  1561.             children USE NOHA
  1562.         }
  1563.         Transform    {
  1564.             translation    .05 0 .8
  1565.             children USE NOHA
  1566.         }
  1567. #        Transform    {#pedals
  1568. #            translation    .4 0 .75
  1569. #            scale    .2 .9 .05
  1570. #            children Rectangle {color    IS color }
  1571. #        }
  1572.     ]}
  1573. }
  1574. #bedside table
  1575. PROTO    LibraryObject78 [field SFColor color 0 0 0]
  1576. {
  1577.     LibraryObject37 {color IS    color    }
  1578. }
  1579. #library
  1580. PROTO    LibraryObject79 [field SFColor color 0 0 0]
  1581. {
  1582.     Group    {    children [
  1583.         Transform    {#back
  1584.             scale    1 1 .1
  1585.             children Rectangle {color IS color }
  1586.         }
  1587.         Transform    {#left
  1588.             scale    .05 1 1
  1589.             children Rectangle {color IS color }
  1590.         }
  1591.         Transform    {#right
  1592.             translation    .95 0 0 
  1593.             scale    .05 1 1
  1594.             children Rectangle {color IS color }
  1595.         }
  1596.         DEF SHELF Transform    {#shelfs
  1597.             translation    .05 0 0
  1598.             scale    .9 .02 1
  1599.             children Rectangle {color IS color }
  1600.         }
  1601.         Transform    {
  1602.             translation    0 .25 0
  1603.             children USE SHELF
  1604.         }
  1605.         Transform    {
  1606.             translation    0 .5 0
  1607.             children USE SHELF
  1608.         }
  1609.         Transform    {
  1610.             translation    0 .75 0
  1611.             children USE SHELF
  1612.         }
  1613.         Transform    {
  1614.             translation    0 .98 0
  1615.             children USE SHELF
  1616.         }
  1617.     ]}
  1618. }
  1619. #Microwave Oven
  1620. PROTO    LibraryObject82 [field SFColor color 0 0 0]
  1621. {
  1622.     Group    {    children [
  1623.         Rectangle    {color IS    color    }
  1624.         Transform    { #knob
  1625.             translation    .85 .85 1
  1626.             rotation 1 0 0 1.57
  1627.             scale    .1 .02 .2
  1628.             children Ellipse {color IS    color    }
  1629.         }
  1630.         Transform    {
  1631.             translation    .1 .2 1
  1632.             scale    .7 .7 .05
  1633.             children Rectangle {}
  1634.         }
  1635.     ]}
  1636. }
  1637. #Bunk Bed
  1638. PROTO    LibraryObject83 [field SFColor color 0 0 0]
  1639. {
  1640.     Group    {    children [
  1641.         Transform    { #lower bed
  1642.             translation    .01 0 0
  1643.             scale    .98 .25 1
  1644.             children LibraryObject23 {color IS color }
  1645.         }
  1646.         Transform    { #upper bed
  1647.             translation    .01 .78 0
  1648.             scale    .98 .1 1
  1649.             children LibraryObject23 {color IS color }
  1650.         }
  1651.         Transform    { #sides
  1652.             scale    .05 1 .15
  1653.             children Rectangle {color IS color }
  1654.         }
  1655.         Transform    {
  1656.             translation    .95 0 0
  1657.             scale    .05 1 .15
  1658.             children Rectangle {color IS color }
  1659.         }
  1660.         Transform    {
  1661.             translation    0 0 .85
  1662.             scale    .05 1 .15
  1663.             children Rectangle {color IS color }
  1664.         }
  1665.         Transform    {
  1666.             translation    .95 0 .85
  1667.             scale    .05 1 .15
  1668.             children Rectangle {color IS color }
  1669.         }
  1670.         Transform    { #top sides
  1671.             translation    0 .78 0
  1672.             scale    1 .22 .02
  1673.             children Rectangle {color IS color }
  1674.         }
  1675.         Transform    {
  1676.             translation    0 .78 .98
  1677.             scale    1 .22 .02
  1678.             children Rectangle {color IS color }
  1679.         }
  1680.         Transform    {
  1681.             translation    .01 .93 0
  1682.             scale    .03 .07 1
  1683.             children Rectangle {color IS color }
  1684.         }
  1685.         Transform    {
  1686.             translation    .96 .93 0
  1687.             scale    .03 .07 1
  1688.             children Rectangle {color IS color }
  1689.         }
  1690.  
  1691.     ]}
  1692. }
  1693. #Phonograph
  1694. PROTO    LibraryObject86 [field SFColor color 0 0 0]
  1695. {
  1696.     Group    {    children [
  1697.         Transform    { #base
  1698.             scale    1 .6 1
  1699.             children Rectangle {color    IS color}
  1700.         }
  1701.         Transform    { #rotate
  1702.             translation    .17 .1 .1
  1703.             scale    .6 .7 .8
  1704.             children Ellipse {}
  1705.         }
  1706.         Transform    { #small buttons
  1707.             translation    .05 .1 .1
  1708.             scale    .08 .75 .1
  1709.             children Ellipse {}
  1710.         }
  1711.         Transform    {
  1712.             translation    .05 .1 .3
  1713.             scale    .08 .75 .1
  1714.             children Ellipse {}
  1715.         }
  1716.         Transform    {
  1717.             translation    .05 .1 .5
  1718.             scale    .08 .75 .1
  1719.             children Ellipse {}
  1720.         }
  1721.         Transform    { #pick-up
  1722.             translation    .85 .1 .1
  1723.             scale    .08 .85 .1
  1724.             children Ellipse {}
  1725.         }
  1726.         Transform    { 
  1727.             translation    .85 .9 .1
  1728.             rotation 0 1 0 -.35
  1729.             scale    .08 .1 .8
  1730.             children Rectangle {}
  1731.         }
  1732.     ]}
  1733. }
  1734. #Hi-Fi System
  1735. PROTO    LibraryObject87 [field SFColor color 0 0 0]
  1736. {
  1737.     Group    {    children [
  1738.         Transform    { #left repro
  1739.             scale    .31 1 .8
  1740.             children Rectangle {color IS color }
  1741.         }
  1742.         Transform    {
  1743.             translation    .02 0 .8
  1744.             scale    .27 1 .1
  1745.             children Rectangle {}
  1746.         }
  1747.         Transform    { #right repro
  1748.             translation    .69 0 0
  1749.             scale    .31 1 .8
  1750.             children Rectangle {color IS color }
  1751.         }
  1752.         Transform    {
  1753.             translation    .71 0 .8
  1754.             scale    .27 1 .1
  1755.             children Rectangle {}
  1756.         }
  1757.         Transform    { #main
  1758.             translation    .33 0 0
  1759.             scale    .33 1 .95
  1760.             children Rectangle {color IS color }
  1761.         }
  1762.         Transform    {
  1763.             translation    .36 .6 .8
  1764.             scale    .17 .16 .2
  1765.             children Rectangle {}
  1766.         }
  1767.         Transform    { #knob
  1768.             translation    .55 .75 .8
  1769.             rotation 1 0 0 1.57
  1770.             scale    .1 .2 .2
  1771.             children Ellipse {color IS    color    }
  1772.         }
  1773.         Transform    { #tapes
  1774.             translation    .38 .25 .8
  1775.             scale    .1 .1 .2
  1776.             children Rectangle {}
  1777.         }
  1778.         Transform    {
  1779.             translation    .51 .25 .8
  1780.             scale    .1 .1 .2
  1781.             children Rectangle {}
  1782.         }
  1783.         Transform    { #CD
  1784.             translation    .38 .9 .1
  1785.             scale    .23 .12 .6
  1786.             children Rectangle {}
  1787.         }
  1788.     ]}
  1789. }
  1790. #Video Recorder/DVD
  1791. PROTO    LibraryObject88 [field SFColor color 0 0 0]
  1792. {
  1793.     Group    {    children [
  1794.         Transform    { #body
  1795.             scale    1 1 .92
  1796.             children Rectangle {color IS    color}
  1797.         }
  1798.         Transform    { #display
  1799.             translation    .55 .3 .8
  1800.             scale    .2 .5 .15
  1801.             children Rectangle {}
  1802.         }
  1803.         Transform    { #knob
  1804.             translation    .8 .9 .8
  1805.             rotation 1 0 0 1.57
  1806.             scale    .12 .2 .6
  1807.             children Ellipse {color IS    color    }
  1808.         }
  1809.     ]}
  1810. }
  1811. #Notebook
  1812. PROTO    LibraryObject89 [field SFColor color 0 0 0]
  1813. {
  1814.     Group    {    children [
  1815.         Transform    { #base
  1816.             translation    0 0 .15
  1817.             scale    1 .1 .85
  1818.             children Rectangle { color IS color }
  1819.         }
  1820.         Transform    { #display
  1821.             translation    .0 .08 .15
  1822.             rotation 1 0 0 -.35
  1823.             scale    1 .85 .1
  1824.             children Rectangle { color IS color }
  1825.         }
  1826.         Transform    {
  1827.             translation    .1 .18 .18
  1828.             rotation 1 0 0 -.35
  1829.             scale    .8 .65 .1
  1830.             children Rectangle {}
  1831.         }
  1832.         Transform    { #touchpad
  1833.             translation    .4 .08 .7
  1834.             scale    .2 .05 .2
  1835.             children Rectangle {}
  1836.         }
  1837.     ]}
  1838. }
  1839. #CD Stand
  1840. PROTO    LibraryObject90 [field SFColor color 0 0 0]
  1841. {
  1842.     Group    {    children [
  1843.         Transform    {
  1844.             translation    0 .02 0
  1845.             scale    1 .98 1
  1846.             children Shape    {
  1847.                 appearance Appearance    { material Material    {diffuseColor IS color }}
  1848.                 geometry IndexedFaceSet    {
  1849.                     coord    Coordinate { point [0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 1 0, 1 1 0, 1 1 1, 0 1 1]
  1850.                     }
  1851.                     coordIndex [0 1 2 3 -1, 4 5 6 7 -1, 0 1 5 4 -1, 1 2 6 5 -1, 3 0 4 7 -1]
  1852.                     solid    FALSE
  1853.                 }
  1854.             }
  1855.         }
  1856.     ]}
  1857. }
  1858. #Dartboard
  1859. PROTO    LibraryObject91 [field SFColor color 0 0 0]
  1860. {
  1861.     Group    {    children [
  1862.         Transform    { #base
  1863.             translation    0 1 0
  1864.             rotation 1 0 0 1.57
  1865.             scale    1 .4 1
  1866.             children Ellipse {color IS    color    }
  1867.         }
  1868.         Transform    { #white circle
  1869.             translation    .16 .84 .4
  1870.             rotation 1 0 0 1.57
  1871.             scale    .68 .02 .68
  1872.             children Ellipse {color 1 1 1}
  1873.         }
  1874.         DEF    FiveRedTri Group { children    [
  1875.             Transform    { 
  1876.                 translation    .5 .5 .44
  1877.                 children DEF RedTri Shape    { #one red triangle
  1878.                     appearance Appearance    { material Material    {diffuseColor 1 0 0 }}
  1879.                     geometry IndexedFaceSet    {
  1880.                         coord    Coordinate { point [0 0 0, .35 -.05 0, .35 .05 0]
  1881.                         }
  1882.                         coordIndex [0 1 2 -1]
  1883.                     }
  1884.                 }
  1885.             }
  1886.             Transform    { 
  1887.                 translation    .5 .5 .44
  1888.                 rotation 0 0 1 .63
  1889.                 children USE RedTri
  1890.             }
  1891.             Transform    { 
  1892.                 translation    .5 .5 .44
  1893.                 rotation 0 0 1 1.26
  1894.                 children USE RedTri
  1895.             }
  1896.             Transform    { 
  1897.                 translation    .5 .5 .44
  1898.                 rotation 0 0 1 1.88
  1899.                 children USE RedTri
  1900.             }
  1901.             Transform    { 
  1902.                 translation    .5 .5 .44
  1903.                 rotation 0 0 1 2.51
  1904.                 children USE RedTri
  1905.             }
  1906.         ]}
  1907.         Transform    { 
  1908.             translation    .5 .5 0
  1909.             rotation 0 0 1 3.14
  1910.             children Transform { translation -.5 -.5 0 children USE FiveRedTri }
  1911.         }
  1912.     ]}
  1913. }
  1914. #Aquarium
  1915. PROTO    LibraryObject92 [field SFColor color 0 0 0]
  1916. {
  1917.     Group    {    children [
  1918.         Transform    { #base
  1919.             translation    .02 0 .02
  1920.             scale    .98 .05 .98
  1921.             children TranspRect {color    IS color transparency .4}
  1922.         }
  1923.         Transform    { #sides
  1924.             scale    1 1 .02
  1925.             children TranspRect {color    IS color transparency .4}
  1926.         }
  1927.         Transform    {
  1928.             scale    .02 1 1
  1929.             children TranspRect {color    IS color transparency .4}
  1930.         }
  1931.         Transform    {
  1932.             translation .98 0 0
  1933.             scale    .02 1 1
  1934.             children TranspRect {color    IS color transparency .4}
  1935.         }
  1936.         Transform    {
  1937.             translation    0 0 .98
  1938.             scale    1 1 .02
  1939.             children TranspRect {color    IS color transparency .4}
  1940.         }
  1941.     ]}
  1942. }
  1943. #Picture
  1944. PROTO    LibraryObject93 [field SFColor color 0 0 0]
  1945. {
  1946.     Group    {    children [
  1947.         Rectangle    {color IS    color    }
  1948.         Shape    {
  1949.             appearance Appearance    {
  1950.                 texture    PixelTexture { # butterfly, upside-down
  1951.                     repeatS    FALSE    repeatT    FALSE
  1952.                     image    16 12 3
  1953.                         0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF
  1954.                         0xFFFFFF 0xFFFFFF 0xFFFFFF 0xE1E1E1 0x9C9C9C 0x8E8E8E 0xFCFCFC 0xFFFFFF 0xFFFFFF 0xFCFCFC 0x8E8E8E 0x9C9C9C 0xE1E1E1 0xFFFFFF 0xFFFFFF 0xFFFFFF
  1955.                         0xFFFFFF 0xFFFFFF 0xCECECE 0x1D1B19 0x322411 0x7A5428 0xA59D94 0xD6D6D6 0xD6D6D6 0xA59D94 0x7A5428 0x322411 0x1D1B19 0xCECECE 0xFFFFFF 0xFFFFFF 
  1956.                         0xFFFFFF 0xFFFFFF 0x282624 0x7B4D16 0x8E5818 0x9C6320 0x744A1A 0x918F8C 0x918F8C 0x744A1A 0x9C6320 0x8E5818 0x7B4D16 0x282624 0xFFFFFF 0xFFFFFF
  1957.                         0xFFFFFF 0xFFFFFF 0x2C1F0F 0x875214 0x6C4517 0x784A13 0xA36011 0x3E270C 0x3E270C 0xA36011 0x784A13 0x6C4517 0x875214 0x2C1F0F 0xFFFFFF 0xFFFFFF  
  1958.                         0xFFFFFF 0xFFFFFF 0x686767 0x744711 0x7E4B0E 0xAC6716 0x8F520B 0x100900 0x100900 0x8F520B 0xAC6716 0x7E4B0E 0x744711 0x686767 0xFFFFFF 0xFFFFFF  
  1959.                         0xFFFFFF 0xE5E5E5 0x4B4339 0x38230A 0x51320F 0x5A3912 0x3D270D 0x010100 0x010100 0x3D270D 0x5A3912 0x51320F 0x38230A 0x4B4339 0xE5E5E5 0xFFFFFF 
  1960.                         0xFFFFFF 0x9F9F9F 0x462B0B 0xA86619 0x8E540F 0x9B5E16 0x78552B 0x989897 0x989897 0x78552B 0x9B5E16 0x8E540F 0xA86619 0x462B0B 0x9F9F9F 0xFFFFFF 
  1961.                         0xFFFFFF 0x5F5F5F 0x422707 0x925814 0x92550D 0x694418 0xACACAC 0xEFEFEF 0xEFEFEF 0xACACAC 0x694418 0x92550D 0x925814 0x422707 0x5F5F5F 0xFFFFFF 
  1962.                         0xDFDFDF 0x0B0B0B 0x2E2111 0x2B2014 0x3B2421 0xCECECE 0xF8F8F8 0xFFFFFF 0xFFFFFF 0xF8F8F8 0xCECECE 0x3B2421 0x2B2014 0x2E2111 0x0B0B0B 0xDFDFDF 
  1963.                         0x656565 0x000000 0x080808 0x5A5A5A 0xE6E6E6 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xE6E6E6 0x5A5A5A 0x080808 0x000000 0x656565 
  1964.                         0xB9B9B9 0x838383 0xD0D0D0 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xFFFFFF 0xD0D0D0 0x838383 0xB9B9B9 
  1965.                 }
  1966.             }
  1967.             geometry IndexedFaceSet    {
  1968.                 coord    Coordinate { point [.15 .15 1.1, .85 .15 1.1, .85 .85 1.1, .15 .85 1.1]}
  1969.                 coordIndex [0 1 2 3 -1]
  1970.             }
  1971.         }
  1972.     ]}
  1973. }
  1974. #Mug
  1975. PROTO    LibraryObject96 [field SFColor color 0 0 0]
  1976. {
  1977.     Group    {    children [
  1978.         Transform    {
  1979.             translation    .5 .02 .5
  1980.             scale    .5 1 .5
  1981.             children Shape {
  1982.                 appearance Appearance    {material Material {diffuseColor IS color emissiveColor .15 .15 .15}}
  1983.                 geometry Extrusion {
  1984.                     crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  1985.                     solid    FALSE
  1986.                     endCap FALSE
  1987.                     creaseAngle    1
  1988.                 }
  1989.             }
  1990.         }
  1991.         Transform    { #handle
  1992.             translation    1.02 .3 .45
  1993.             rotation 0 0 1 .2
  1994.             scale .28 .1 .1
  1995.             children Rectangle {color    IS color }
  1996.         }
  1997.         Transform    {
  1998.             translation    1 .7 .45
  1999.             scale .3 .1 .1
  2000.             children Rectangle {color    IS color }
  2001.         }
  2002.         Transform    {
  2003.             translation    1.2 .4 .45
  2004.             scale .1 .3 .1
  2005.             children Rectangle {color    IS color }
  2006.         }
  2007.     ]}
  2008. }
  2009. #Teapot
  2010. PROTO    LibraryObject94 [field SFColor color 0 0 0]
  2011. {
  2012.     Group    {    children [
  2013.         Transform    {# body, a.k.a mug
  2014.             translation    .3 0 0
  2015.             scale .7 1 1
  2016.             children LibraryObject96 {color    IS color }
  2017.         }
  2018.         Transform    {
  2019.             translation    .28 .3 .45
  2020.             rotation 0 0 1 .3
  2021.             scale .1 .6 .1
  2022.             children Ellipse {color    IS color }
  2023.         }
  2024.     ]}
  2025. }
  2026. #Plate
  2027. PROTO    LibraryObject102 [field SFColor color 0 0 0]
  2028. {
  2029.     Transform    {
  2030.         translation    .5 .02 .5
  2031.         scale    .5 1 .5
  2032.         children Shape {
  2033.             appearance Appearance    {material Material {diffuseColor IS color}}
  2034.             geometry Extrusion {
  2035.                 crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  2036.                 spine [0 0 0,   0 1 0]
  2037.                 scale    [.5 .5, 1 1]
  2038.                 solid    FALSE
  2039.                 endCap FALSE
  2040.                 creaseAngle    .82
  2041.             }
  2042.         }
  2043.     }
  2044. }
  2045. #Cup
  2046. PROTO    LibraryObject95 [field SFColor color 0 0 0]
  2047. {
  2048.     Group    {    children [
  2049.         Transform    { # body, a.k.a mug
  2050.             translation    .3 .1 .3
  2051.             scale .4 .9 .4
  2052.             children LibraryObject96 {color    IS color }
  2053.         }
  2054.         Transform    { #plate
  2055.             scale    1 .2 1
  2056.             children LibraryObject102 {color IS    color    }
  2057.         }
  2058.     ]}
  2059. }
  2060. #Glass
  2061. PROTO    LibraryObject97 [field SFColor color 0 0 0]
  2062. {
  2063.     Transform    {
  2064.         translation    .5 .01 .5
  2065.         scale    .5 1 .5
  2066.         children Shape {
  2067.             appearance Appearance    {material Material {diffuseColor IS color transparency .6}}
  2068.             geometry Extrusion {
  2069.                 crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  2070.                 scale    [.8 .8, 1 1]
  2071.                 solid    FALSE
  2072.                 endCap FALSE
  2073.                 creaseAngle    1
  2074.             }
  2075.         }
  2076.     }
  2077. }
  2078. #Wine Glass
  2079. PROTO    LibraryObject98 [field SFColor color 0 0 0]
  2080. {
  2081.     Transform    {
  2082.         translation    .5 0 .5
  2083.         scale    .5 1 .5
  2084.         children Shape {
  2085.             appearance Appearance    {material Material {diffuseColor IS color transparency .6}}
  2086.             geometry Extrusion {
  2087.                 crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  2088.                 spine    [0 0 0, 0 .1 0, 0 .5 0, 0 .55 0, 0 .6 0, 0 1 0]
  2089.                 scale    [.9 .9, .1 .1,  .1 .1,  .3 .3,   1 1,    .95 .95]
  2090.                 solid    FALSE
  2091.                 endCap FALSE
  2092.                 creaseAngle    1
  2093.             }
  2094.         }
  2095.     }
  2096. }
  2097. #Bottle
  2098. PROTO    LibraryObject99 [field SFColor color 0 0 0]
  2099. {
  2100.     Group    {    children [
  2101.         Transform    {
  2102.             scale    1 .5 1
  2103.             children Ellipse {color    IS color }
  2104.         }
  2105.         Transform    {
  2106.             translation    .3 .5 .3
  2107.             scale    .4 .5 .4
  2108.             children Ellipse {color    IS color }
  2109.         }
  2110.         Transform    {
  2111.             translation    .5 .7 .5
  2112.             children Shape {
  2113.                 appearance Appearance    {material Material {diffuseColor IS color }}
  2114.                 geometry Cone    { height .4 bottomRadius    .5 bottom FALSE }
  2115.             }
  2116.         }
  2117.         Transform    { #label
  2118.             translation    .5 .3 .55
  2119.             children Shape {
  2120.                 appearance Appearance    {material Material {diffuseColor 1 1 1}}
  2121.                 geometry Cylinder    { height .35 radius    .5 top FALSE bottom FALSE }
  2122.             }
  2123.         }
  2124.     ]}
  2125. }
  2126. #Tent 1
  2127. PROTO    LibraryObject100 [field SFColor color 0 0 0]
  2128. {
  2129.     Shape    {
  2130.         appearance Appearance    { material Material    {diffuseColor IS color }}
  2131.         geometry IndexedFaceSet    {
  2132.             coord    Coordinate { point [0 0 0, 1 0 0, 1 0 1, 0 0 1, .5 1 0, .5 1 1]
  2133.             }
  2134.             coordIndex [0 1 2 3 -1, 1 0 4 -1, 3 2 5 -1, 2 1 4 5 -1, 0 3 5 4 -1]
  2135.         }
  2136.     }
  2137. }
  2138. #Tent 2
  2139. PROTO    LibraryObject101 [field SFColor color 0 0 0]
  2140. {
  2141.     Transform    {
  2142.         translation    .5 0 .5
  2143.         children Shape    {
  2144.             appearance Appearance    { material Material    {diffuseColor IS color }}
  2145.             geometry Extrusion {
  2146.                 crossSection [.2 .5, .5 .2, .5 -.2, .2 -.5, -.2 -.5, -.5 -.2, -.5 .2, -.2 .5, .2 .5]
  2147.                 spine [0 0 0, 0 .5 0, 0 .7 0, 0 .8 0,  0 1 0]
  2148.                 scale    [1 1,   .9 .9,  .8 .8,  .7 .7,   .1 .1]
  2149.                 beginCap FALSE
  2150.                 solid    FALSE
  2151.                 creaseAngle    1
  2152.             }
  2153.         }
  2154.     }
  2155. }
  2156. #Lamp 2
  2157. PROTO    LibraryObject103 [field SFColor color 0 0 0]
  2158. {
  2159.     Group    {    children [
  2160.         Transform    { # rotated tent 2 as a shield
  2161.             translation    0 .6 .7
  2162.             rotation 1 0 0 -.5
  2163.             scale 1 .4 .5
  2164.             children Transform {
  2165.                 translation    0 0 -.5
  2166.                 children LibraryObject101    {color IS    color    }
  2167.             }
  2168.         }
  2169.         Transform    { #stand
  2170.             translation    0 0 .2
  2171.             scale    1 .05 .5
  2172.             children Ellipse {color    IS color }
  2173.         }
  2174.         Transform    { #center part
  2175.             translation    .45 0 .42
  2176.             scale .1 .35 .05
  2177.             children Ellipse {color    .7 .7 .7}
  2178.         }
  2179.         Transform    { #back part
  2180.             translation    .45 .59 0
  2181.             scale .1 .28 .05
  2182.             children Ellipse {color    .7 .7 .7}
  2183.         }
  2184.         Transform    { #center part
  2185.             translation    .45 .32 .42
  2186.             rotation 1 0 0 -1
  2187.             scale .1 .46 .05
  2188.             children Ellipse {color    .7 .7 .7}
  2189.         }
  2190.         Transform    { #top part
  2191.             translation    .45 .87 0
  2192.             rotation 1 0 0 1.36
  2193.             scale .1 .55 .05
  2194.             children Ellipse {color    .7 .7 .7}
  2195.         }
  2196.     ]}
  2197. }
  2198. #Lamp 3
  2199. PROTO    LibraryObject104 [field SFColor color 0 0 0]
  2200. {
  2201.     Group    {    children [
  2202.         Transform    { # rotated tent 2 as a shield
  2203.             translation    0 1 .5
  2204.             rotation 1 0 0 3.1415
  2205.             scale 1 .1 1 
  2206.             children Transform {
  2207.                 translation    0 0 -.5
  2208.                 children LibraryObject101    {color IS    color    }
  2209.             }
  2210.         }
  2211.         Transform    { #stand
  2212.             translation    .45 0 .45
  2213.             scale    .1 .91 .1
  2214.             children Ellipse { color .7 .7 .7} # gray
  2215.         }
  2216.         Transform    {
  2217.             scale    1 .02 1
  2218.             children Ellipse {color    IS color }
  2219.         }
  2220.     ]}
  2221. }
  2222. #Drums
  2223. PROTO    LibraryObject105 [field SFColor color 0 0 0]
  2224. {
  2225.     Group    {    children [
  2226.         Transform    { #the big one
  2227.             translation    .33 .5 0
  2228.             rotation 1 0 0 1.57
  2229.             scale    .33 .5 .5
  2230.             children Ellipse {color IS color }
  2231.         }
  2232.         Transform    { #two front looking like rectangles
  2233.             translation    .31 .75 .27
  2234.             rotation 1 0 0 1.3
  2235.             scale    .17 .375 .25
  2236.             children Ellipse {color IS color }
  2237.         }
  2238.         Transform    {
  2239.             translation    .52 .75 .18
  2240.             rotation 1 0 0 1.3
  2241.             scale    .2 .4 .3
  2242.             children Ellipse {color IS color }
  2243.         }
  2244.         Transform    { #two front, round, "kotle"
  2245.             translation    .18 .2 .53
  2246.             scale    .23 .2 .43
  2247.             children Ellipse {color IS color }
  2248.         }
  2249.         Transform    {
  2250.             translation    .58 0 .53
  2251.             scale    .23 .4 .43
  2252.             children Ellipse {color IS color }
  2253.         }
  2254.         Transform    { #stand for the left front drum
  2255.             translation    .295 0 .745
  2256.             scale    .23    .2 .43
  2257.             children DEF STAND Group {children [
  2258.                 Transform    { 
  2259.                     translation    -.02 0 -.02
  2260.                     scale    .04 .98 .04
  2261.                     children Ellipse {color    .7 .7 .7}
  2262.                 }
  2263.                 Transform    {
  2264.                     translation    -.3 0 -.3
  2265.                     scale    .6 .02 .6
  2266.                     children Ellipse {color    .7 .7 .7}
  2267.                 }
  2268.             ]}
  2269.         }
  2270.         Transform    { #left "cinel"
  2271.             translation    .2 0 .25
  2272.             scale    .23    .9 .43
  2273.             children DEF CINEL Group {children [
  2274.                 USE    STAND
  2275.                 DEF CINELTOP Transform    {
  2276.                     scale    .5 1 .5
  2277.                     children Shape {
  2278.                         appearance Appearance    {material Material {diffuseColor .8 .6 .15 specularColor 1 1 1}}
  2279.                         geometry Extrusion {
  2280.                             crossSection [1 0, .7 .7, 0 1, -.7 .7, -1 0, -.7 -.7, 0 -1, .7 -.7, 1 0]
  2281.                             spine [0 .94 0, 0 .99 0, 0 1 0]
  2282.                             scale    [1 1,    .15 .15, .1 .1]
  2283.                             solid    FALSE
  2284.                             beginCap FALSE
  2285.                             creaseAngle    1
  2286.                         }
  2287.                     }
  2288.                 }
  2289.             ]} # end of CINEL
  2290.         }
  2291.         Transform    { #right "cinel"
  2292.             translation    .85 0 .4
  2293.             scale    .3 .9 .56
  2294.             children USE CINEL
  2295.         }
  2296.         Transform    { #left "hi-hat"
  2297.             translation    .13 0 .625
  2298.             scale    .19 .6 .375
  2299.             children USE CINEL
  2300.         }
  2301.         Transform    { #left "hi-hat", bottom part
  2302.             translation    .13 1.1 .625
  2303.             rotation 1 0 0 3.1415
  2304.             scale    .19 .6 .375
  2305.             children USE CINELTOP
  2306.         }
  2307.     ]}
  2308. }
  2309. # door 2
  2310. PROTO    LibraryObject106 [field SFColor color 0 0 0]
  2311. {
  2312.     Group    {children    []} # is blank
  2313. }
  2314. # chandelier
  2315. PROTO    LibraryObject107 [field SFColor color 0 0 0]
  2316. {
  2317.     Group    {children    [
  2318.         Transform    { #tent 2 as a shield
  2319.             scale    1 .4 1
  2320.             children LibraryObject101 {color IS    color    }
  2321.         }
  2322.         Transform    {
  2323.             translation    .47 .4 .47
  2324.             scale    .06 .6 .06
  2325.             children Ellipse {color IS color }
  2326.         }
  2327.  
  2328.     ]}
  2329. }
  2330. # crib
  2331. PROTO    LibraryObject108 [field SFColor color 0 0 0]
  2332. {
  2333.     Group    {children    [
  2334.         Transform    { #bed
  2335.             translation    .03 .25 .03
  2336.             scale    .94 .2 .94
  2337.             children LibraryObject23 {color IS    color    }
  2338.         }
  2339.         DEF TBSIDE Group    { children [
  2340.             DEF BIGPALE Transform    { # two big pales
  2341.                 scale    .1 1 .05
  2342.                 children Rectangle {color    IS color }
  2343.             }
  2344.             Transform    {    translation    .9 0 0 children USE BIGPALE }
  2345.             Transform    { # top pale
  2346.                 translation    0 .97 0 
  2347.                 scale    1 .03 .05
  2348.                 children Rectangle {color    IS color }
  2349.             }
  2350.             DEF SMPALE Transform    { # several small pales
  2351.                 translation    .25 .25 .02 
  2352.                 scale    .05 .75 .02
  2353.                 children Rectangle {color    IS color }
  2354.             }
  2355.             Transform    {    translation    .2 0 0 children USE SMPALE }
  2356.             Transform    {    translation    .45 0 0 children USE SMPALE }
  2357.         ]}
  2358.         Transform    {
  2359.             translation    0 0 .95
  2360.             children USE TBSIDE
  2361.         }
  2362.         DEF    LRSIDE Group { children    [
  2363.             Transform    { # top pale
  2364.                 translation    0 .97 0
  2365.                 scale    .1 .03 1
  2366.                 children Rectangle {color    IS color }
  2367.             }
  2368.             Transform    {    translation    -.22 0 .13 children USE SMPALE }
  2369.             Transform    {    translation    -.22 0 .26 children USE SMPALE }
  2370.             Transform    {    translation    -.22 0 .4 children USE SMPALE }
  2371.             Transform    {    translation    -.22 0 .54 children USE SMPALE }
  2372.             Transform    {    translation    -.22 0 .67 children USE SMPALE }
  2373.             Transform    {    translation    -.22 0 .8 children USE SMPALE }
  2374.         ]}
  2375.         Transform    {
  2376.             translation    .9 0 0
  2377.             children USE LRSIDE
  2378.         }
  2379.     ]}
  2380. }
  2381. #Work Surface 3 L
  2382. PROTO    LibraryObject109 [field SFColor color 0 0 0]
  2383. {
  2384.     Shape    {
  2385.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  2386.         geometry Extrusion {
  2387.             crossSection [0 0, 1 0, 1 .72, .54 .72, .23 .95, .23 1, 0 1, 0 0]
  2388.             ccw    FALSE
  2389.             convex FALSE
  2390.         }
  2391.     }
  2392. }
  2393. #Work Surface 3 R
  2394. PROTO    LibraryObject110 [field SFColor color 0 0 0]
  2395. {
  2396.     Shape    {
  2397.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  2398.         geometry Extrusion {
  2399.             crossSection [1 0, 0 0, 0 .72, .46 .72, .77 .95, .77 1, 1 1, 1 0]
  2400.             ccw    TRUE
  2401.             convex FALSE
  2402.         }
  2403.     }
  2404. }
  2405. #Work Surface 4
  2406. PROTO    LibraryObject111 [field SFColor color 0 0 0]
  2407. {
  2408.     Shape    {
  2409.         appearance Appearance { material Material    { diffuseColor IS    color    }}
  2410.         geometry Extrusion {
  2411.             crossSection [0 0, .66 0, 1 .76, .68 1, .54 .68, .28 .49, 0 .49, 0 0]
  2412.             ccw    FALSE
  2413.             convex FALSE
  2414.         }
  2415.     }
  2416. }
  2417. #Work Surface 5
  2418. PROTO    LibraryObject112 [field SFColor color 0 0 0]
  2419. {
  2420.     Group    { children [
  2421.         Transform    {
  2422.             scale    .75 1 1
  2423.             children Rectangle    {color IS    color    }
  2424.         }
  2425.         Transform    {
  2426.             translation    .5 0 0
  2427.             scale    .5 1 1
  2428.             children Ellipse {color    IS color}
  2429.         }
  2430.     ]}
  2431. }
  2432. #Rectangular Shelf
  2433. PROTO    LibraryObject113 [field SFColor color 0 0 0]
  2434. {
  2435.     Group    {    children [
  2436.         Transform    { #base
  2437.             translation    .05 0 .05
  2438.             scale    .95 .05 .95
  2439.             children Rectangle {color    IS color}
  2440.         }
  2441.         Transform    { #sides
  2442.             scale    1 1 .05
  2443.             children Rectangle {color    IS color}
  2444.         }
  2445.         Transform    {
  2446.             scale    .05 1 1
  2447.             children Rectangle {color    IS color}
  2448.         }
  2449.         Transform    {
  2450.             translation .95 0 0
  2451.             scale    .05 1 1
  2452.             children Rectangle {color    IS color}
  2453.         }
  2454.         Transform    {#top
  2455.             translation    0 .95 0
  2456.             scale    1 .05 1
  2457.             children Rectangle {color    IS color}
  2458.         }
  2459.     ]}
  2460. }
  2461. #Round Shelf
  2462. PROTO    LibraryObject114 [field SFColor color 0 0 0]
  2463. {
  2464.     Group    {children    [
  2465.         Transform    { # table ending 1 as a bottom and top
  2466.             scale    1 .05 1
  2467.             children LibraryObject39 {color    IS color}
  2468.         }
  2469.         Transform    {
  2470.             translation    0 .95 0
  2471.             scale    1 .05 1
  2472.             children LibraryObject39 {color    IS color}
  2473.         }
  2474.         Transform    { #sides
  2475.             translation    .01 0 0
  2476.             scale    .99 1 .05
  2477.             children Rectangle {color    IS color}
  2478.         }
  2479.         Transform    {
  2480.             translation .95 0 0
  2481.             scale    .05 1 .99
  2482.             children Rectangle {color    IS color}
  2483.         }
  2484.     ]}
  2485. }
  2486. #Bevelled Shelf
  2487. PROTO    LibraryObject115 [field SFColor color 0 0 0]
  2488. {
  2489.     Group    {children    [
  2490.         DEF SH Transform    {
  2491.             scale 1 .05 1
  2492.             children
  2493.             Shape    {
  2494.                 appearance Appearance { material Material    { diffuseColor IS    color    }}
  2495.                 geometry Extrusion {
  2496.                     crossSection [0 0, 0 .54, .46 1, 1 1, 1 0, 0 0]
  2497.                     creaseAngle    1
  2498.                 }
  2499.             }
  2500.         }
  2501.         Transform    {
  2502.             translation    0 .95 0
  2503.             children USE SH
  2504.         }
  2505.         Transform    { #sides
  2506.             scale    1 1 .05
  2507.             children Rectangle {color    IS color}
  2508.         }
  2509.         Transform    {
  2510.             translation .95 0 0
  2511.             scale    .05 1 1
  2512.             children Rectangle {color    IS color}
  2513.         }
  2514.     ]}
  2515. }
  2516. #Drawer
  2517. PROTO    LibraryObject116 [field SFColor color 0 0 0]
  2518. {
  2519.     Group    {    children [
  2520.         Rectangle {color IS    color}
  2521.         Shape    {
  2522.             appearance Appearance { material    Material {diffuseColor 0 0 0}}
  2523.             geometry
  2524.                 IndexedLineSet {
  2525.                     coord    Coordinate {
  2526.                         point    [.06 .1 1.01, .94 .1 1.01, .94 .9 1.01, .06 .9 1.01]
  2527.                     }
  2528.                     coordIndex [0 1 2 3 0 -1]
  2529.             }
  2530.         }
  2531.     ]}
  2532. }
  2533. #Trunk
  2534. PROTO    LibraryObject117 [field SFColor color 0 0 0]
  2535. {
  2536.     Group    {    children [
  2537.         Transform    { #base
  2538.             translation    .05 0 .05
  2539.             scale    .95 .05 .95
  2540.             children Rectangle {color    IS color}
  2541.         }
  2542.         Transform    { #sides
  2543.             scale    1 1 .05
  2544.             children Rectangle {color    IS color}
  2545.         }
  2546.         Transform    {
  2547.             scale    .05 1 1
  2548.             children Rectangle {color    IS color}
  2549.         }
  2550.         Transform    {
  2551.             translation .95 0 0
  2552.             scale    .05 1 1
  2553.             children Rectangle {color    IS color}
  2554.         }
  2555.         Transform    {
  2556.             translation    0 0 .95
  2557.             scale    1 1 .05
  2558.             children Rectangle {color    IS color}
  2559.         }
  2560.     ]}
  2561. }
  2562. #Sphere
  2563. PROTO    LibraryObject118 [field SFColor color 0 0 0]
  2564. {
  2565.     Transform    {
  2566.         translation    .5 .5 .5
  2567.         children Shape {
  2568.             appearance Appearance    { material Material    { diffuseColor IS    color    }}
  2569.             geometry Sphere    {radius .5}
  2570.         }
  2571.     }
  2572. }
  2573. #Cylinder
  2574. PROTO    LibraryObject119 [field SFColor color 0 0 0]
  2575. {
  2576.     Transform    {
  2577.         translation    0 1 0
  2578.         rotation 1 0 0 1.57
  2579.         children Ellipse {color IS    color    }
  2580.     }
  2581. }
  2582. #Cone
  2583. PROTO    LibraryObject120 [field SFColor color 0 0 0]
  2584. {
  2585.     Transform    {
  2586.         translation    .5 .5 .5
  2587.         children Shape {
  2588.             appearance Appearance    { material Material    { diffuseColor IS    color    }}
  2589.             geometry Cone    {bottomRadius .5 height 1}
  2590.         }
  2591.     }
  2592. }
  2593. #Pyramid
  2594. PROTO    LibraryObject121 [field SFColor color 0 0 0]
  2595. {
  2596.     Shape    {
  2597.         appearance Appearance    { material Material    {diffuseColor IS color }}
  2598.         geometry IndexedFaceSet    {
  2599.             coord    Coordinate { point [0 0 0, 1 0 0, 1 0 1, 0 0 1, .5 1 .5]
  2600.             }
  2601.             coordIndex [0 1 2 3 -1, 1 0 4 -1, 2 1 4 -1, 3 2 4 -1, 0 3 4 -1]
  2602.             solid    TRUE
  2603.         }
  2604.     }
  2605. }
  2606. #Block
  2607. PROTO    LibraryObject122 [field SFColor color 0 0 0]
  2608. {
  2609.     Rectangle    {color IS    color    }
  2610. }
  2611. #Trilat. Prism 1
  2612. PROTO    LibraryObject123 [field SFColor color 0 0 0]
  2613. {
  2614.     Shape    {
  2615.         appearance Appearance    { material Material    {diffuseColor IS color }}
  2616.         geometry IndexedFaceSet    {
  2617.             coord    Coordinate { point [0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 1 0, 0 1 1]
  2618.             }
  2619.             coordIndex [0 1 2 3 -1, 1 0 4 -1, 3 2 5 -1, 2 1 4 5 -1, 0 3 5 4 -1]
  2620.             solid    TRUE
  2621.         }
  2622.     }
  2623. }
  2624. #Trilat. Prism 2
  2625. PROTO    LibraryObject124 [field SFColor color 0 0 0]
  2626. {
  2627.     LibraryObject100 {color    IS color } #tent 1
  2628. }
  2629. #Hemisphere 1
  2630. PROTO    LibraryObject125 [field SFColor color 0 0 0]
  2631. {
  2632.     Transform    { #tent 2 with bottom
  2633.         translation    .5 0 .5
  2634.         children Shape    {
  2635.             appearance Appearance    { material Material    {diffuseColor IS color }}
  2636.             geometry Extrusion {
  2637.                 crossSection [.2 .5, .5 .2, .5 -.2, .2 -.5, -.2 -.5, -.5 -.2, -.5 .2, -.2 .5, .2 .5]
  2638.                 spine [0 0 0, 0 .5 0, 0 .7 0, 0 .8 0,  0 1 0]
  2639.                 scale    [1 1,   .9 .9,  .8 .8,  .7 .7,   .1 .1]
  2640.                 solid    FALSE
  2641.                 creaseAngle    1
  2642.             }
  2643.         }
  2644.     }
  2645. }
  2646. #Hemisphere 2
  2647. PROTO    LibraryObject126 [field SFColor color 0 0 0]
  2648. {
  2649.     Transform    {
  2650.         translation    1 0 0
  2651.         rotation 0 0 1 1.57
  2652.         children LibraryObject125 {color IS    color    }
  2653.     }
  2654. }
  2655. #Hemisphere 3
  2656. PROTO    LibraryObject127 [field SFColor color 0 0 0]
  2657. {
  2658.     Transform    {
  2659.         translation    1 1 0
  2660.         rotation 0 0 1 3.14
  2661.         children LibraryObject125 {color IS    color    }
  2662.     }
  2663. }
  2664. #Tilted Surface
  2665. PROTO    LibraryObject128 [field SFColor color 0 0 0]
  2666. {
  2667.     Shape    {
  2668.         appearance Appearance    { material Material    {diffuseColor IS color }}
  2669.         geometry IndexedFaceSet    {
  2670.             coord    Coordinate { point [1 0 0, 1 0 1, 0 1 0, 0 1 1]
  2671.             }
  2672.             coordIndex [1 0 2 3 -1]
  2673.             solid    FALSE
  2674.         }
  2675.     }
  2676. }
  2677. #Glass Block
  2678. PROTO    LibraryObject129 [field SFColor color 0 0 0]
  2679. {
  2680.     Transform    {
  2681.         translation    .5 .5 .5
  2682.         children Shape    {
  2683.             appearance Appearance { material Material {
  2684.                     diffuseColor IS color
  2685.                     transparency .7
  2686.                 }
  2687.             }
  2688.             geometry Box {size 1 1 1}
  2689.         }
  2690.     }
  2691. }
  2692. #Data Plug
  2693. PROTO    LibraryObject131 [field SFColor color 0 0 0]
  2694. {
  2695.     Group    {children    [
  2696.         Rectangle    {color IS    color    }
  2697.         Transform    { # hole
  2698.             translation    .42 .45 1
  2699.             scale    .16 .1 .05
  2700.             children Rectangle {}
  2701.         }
  2702.     ]}
  2703. }
  2704. #Electrical Plug
  2705. PROTO    LibraryObject130 [field SFColor color 0 0 0]
  2706. {
  2707.     Group    {children    [
  2708.         Rectangle    {color IS    color    }
  2709.         Transform    { # holes
  2710.             translation    .35 .45 1.05
  2711.             scale    .07 .1 .07
  2712.             rotation 1 0 0 -1.57
  2713.             children Ellipse {}
  2714.         }
  2715.         Transform    {
  2716.             translation    .6 .45 1.05
  2717.             scale    .07 .1 .07
  2718.             rotation 1 0 0 -1.57
  2719.             children Ellipse {}
  2720.         }
  2721.     ]}
  2722. }
  2723. #El. Switchboard
  2724. PROTO    LibraryObject132 [field SFColor color 0 0 0]
  2725. {
  2726.     Group    {children    [
  2727.         Rectangle    {color IS    color    }
  2728.         Transform    {
  2729.             translation    .02 .3 .95
  2730.             scale    .96 .5 .1
  2731.             children Rectangle {}
  2732.         }
  2733.     ]}
  2734. }
  2735. #Speaker
  2736. PROTO    LibraryObject133 [field SFColor color 0 0 0]
  2737. {
  2738.     Group    {children    [
  2739.         Transform    {
  2740.             scale    1 1 .97
  2741.             children Rectangle {color IS color }
  2742.         }
  2743.         Transform    {
  2744.             translation    0 .05 .97
  2745.             scale    1 .95 .03
  2746.             children LibraryObject129 {} # black glass
  2747.         }
  2748.     ]}
  2749. }
  2750. #Ceiling Fan
  2751. PROTO    LibraryObject134 [field SFColor color 0 0 0]
  2752. {
  2753.     Group    {children    [
  2754.         Transform    { #center
  2755.             translation    .45 0 .45
  2756.             scale    .1 .5 .1
  2757.             children Ellipse {color IS color }
  2758.         }
  2759.         Transform    {
  2760.             translation    .49 .5 .49
  2761.             scale    .02 .25 .02
  2762.             children Ellipse {color IS color }
  2763.         }
  2764.         Transform    {
  2765.             translation    .47 .75 .47
  2766.             scale    .06 .25 .06
  2767.             children Ellipse {color IS color }
  2768.         }
  2769.         Transform    {
  2770.             translation    .49 .35 .3
  2771.             scale    .02 .05 .4
  2772.             children Rectangle {color IS color }
  2773.         }
  2774.         Transform    {
  2775.             translation    .3 .35 .49
  2776.             scale    .4 .05 .02
  2777.             children Rectangle {color IS color }
  2778.         }
  2779.         Transform    { # 4 fans
  2780.             translation    .44 .34 0
  2781.             scale    .12 .08 .4
  2782.             children Rectangle {color IS color }
  2783.         }
  2784.         Transform    {
  2785.             translation    .44 .34 .6
  2786.             scale    .12 .08 .4
  2787.             children Rectangle {color IS color }
  2788.         }
  2789.         Transform    {
  2790.             translation    0 .34 .44
  2791.             scale    .4 .08 .12
  2792.             children Rectangle {color IS color }
  2793.         }
  2794.         Transform    {
  2795.             translation    .6 .34 .44
  2796.             scale    .4 .08 .12
  2797.             children Rectangle {color IS color }
  2798.         }
  2799.  
  2800.     ]}
  2801. }
  2802. #Pedestal Fan
  2803. PROTO    LibraryObject135 [field SFColor color 0 0 0]
  2804. {
  2805.     Group    {children    [
  2806.         Transform    { #stand
  2807.             translation    .49 0 0
  2808.             scale    .02 .03 1
  2809.             children Rectangle {color IS color }
  2810.         }
  2811.         Transform    {
  2812.             translation    0 0 .49
  2813.             scale    1 .03 .02
  2814.             children Rectangle {color IS color }
  2815.         }
  2816.         Transform    {
  2817.             translation    .47 0 .47
  2818.             scale    .06 .85 .06
  2819.             children Ellipse {color IS color }
  2820.         }
  2821.         Transform    {
  2822.             translation    .44 .55 .4
  2823.             scale    .12 .3 .1
  2824.             children Rectangle {color IS color }
  2825.         }
  2826.         Transform    { # fan center
  2827.             translation    .4 .78 .5
  2828.             scale    .2 .1 .16
  2829.             children LibraryObject119 {color IS color }
  2830.         }
  2831.         Transform    { # fan body
  2832.             translation    .15 1 .52
  2833.             rotation 1 0 0 1.57
  2834.             scale    .7 .13 .35
  2835.             children 
  2836.             Transform {
  2837.                 translation    .5 .5 .5
  2838.                 children  Shape    {
  2839.                     appearance Appearance { material Material    { diffuseColor IS    color     transparency .3}}
  2840.                     geometry Cylinder {
  2841.                         radius .5
  2842.                         height 1
  2843.                     }
  2844.                 }
  2845.             }
  2846.         }
  2847.         Transform    { # 3 fans
  2848.             translation    .43 .83 .6
  2849.             scale    .3 .15 .02
  2850.             children LibraryObject119 {color IS color }
  2851.         }
  2852.         Transform    {
  2853.             translation    .18 .78 .61
  2854.             scale    .3 .15 .02
  2855.             children LibraryObject119 {color IS color }
  2856.         }
  2857.         Transform    {
  2858.             translation    .36 .68 .62
  2859.             scale    .3 .15 .02
  2860.             children LibraryObject119 {color IS color }
  2861.         }
  2862.     ]}
  2863. }
  2864. #Table Fan
  2865. PROTO    LibraryObject136 [field SFColor color 0 0 0]
  2866. {
  2867.     Group    {children    [
  2868.         Transform    { #stand
  2869.             translation    .1 0 0
  2870.             scale    .8 .05 1
  2871.             children Ellipse {color IS color }
  2872.         }
  2873.         Transform    {
  2874.             translation    .4 0 0
  2875.             scale    .2 .75 .25
  2876.             children Rectangle {color IS color }
  2877.         }
  2878.         Transform    { # fan center
  2879.             translation    .4 .6 .25
  2880.             scale    .2 .14 .5
  2881.             children LibraryObject119 {color IS color }
  2882.         }
  2883.         Transform    { # fan body
  2884.             translation    0 1 .28
  2885.             rotation 1 0 0 1.57
  2886.             scale    1 .4 .71
  2887.             children 
  2888.             Transform {
  2889.                 translation    .5 .5 .5
  2890.                 children  Shape    {
  2891.                     appearance Appearance { material Material    { diffuseColor IS    color     transparency .3}}
  2892.                     geometry Cylinder {
  2893.                         radius .5
  2894.                         height 1
  2895.                     }
  2896.                 }
  2897.             }
  2898.         }
  2899.         Transform    { # 3 fans
  2900.             translation    .45 .67 .6
  2901.             scale    .4 .28 .02
  2902.             children LibraryObject119 {color IS color }
  2903.         }
  2904.         Transform    {
  2905.             translation    .05 .6 .62
  2906.             scale    .4 .28 .02
  2907.             children LibraryObject119 {color IS color }
  2908.         }
  2909.         Transform    {
  2910.             translation    .36 .38 .64
  2911.             scale    .4 .28 .02
  2912.             children LibraryObject119 {color IS color }
  2913.         }
  2914.     ]}
  2915. }
  2916. #Garden Chair
  2917. PROTO    LibraryObject137 [field SFColor color 0 0 0]
  2918. {
  2919.     Group    {    children [
  2920.         Transform    {
  2921.             translation    .12 0 0
  2922.             children DEF NOHA Transform    {
  2923.                 scale    .12 .45 .1
  2924.                 children Rectangle {color    IS color }
  2925.             }
  2926.         }
  2927.         Transform    {
  2928.             translation    .75 0 0
  2929.             children USE NOHA
  2930.         }
  2931.         Transform    {
  2932.             translation    .88 0 .9
  2933.             children USE NOHA
  2934.         }
  2935.         Transform    {
  2936.             translation    0 0 .9
  2937.             children USE NOHA
  2938.         }
  2939.         Transform    { #base
  2940.             translation    .09 .4 0
  2941.             scale    .82 .05 1
  2942.             children Rectangle {color    IS color }
  2943.         }
  2944.         Transform    { #back
  2945.             translation    .18 .45 0
  2946.             scale    .64 .45 .05
  2947.             children Rectangle {color    IS color }
  2948.         }
  2949.         Transform    {
  2950.             translation    .18 .8 0
  2951.             scale    .64 .2 .05
  2952.             children LibraryObject119 {color    IS color }
  2953.         }
  2954.         Transform    { #armrest, left
  2955.             translation    0 .45 .9
  2956.             scale    .08 .25 .05
  2957.             children Rectangle {color    IS color }
  2958.         }
  2959.         Transform    {
  2960.             translation    0 .7 0
  2961.             scale    .08 .05 .95
  2962.             children Rectangle {color    IS color }
  2963.         }
  2964.         Transform    {
  2965.             translation    .05 .7 0
  2966.             rotation 0 0 1 .85
  2967.             scale    .28 .05 .05
  2968.             children Rectangle {color    IS color }
  2969.         }
  2970.         Transform    { #armrest, right
  2971.             translation    .92 .45 .9
  2972.             scale    .08 .25 .05
  2973.             children Rectangle {color    IS color }
  2974.         }
  2975.         Transform    {
  2976.             translation    .92 .7 0
  2977.             scale    .08 .05 .95
  2978.             children Rectangle {color    IS color }
  2979.         }
  2980.         Transform    {
  2981.             translation    .77 .9 0
  2982.             rotation 0 0 1 -.85
  2983.             scale    .28 .05 .05
  2984.             children Rectangle {color    IS color }
  2985.         }
  2986.     ]}
  2987. }
  2988. #Garden Table
  2989. PROTO    LibraryObject138 [field SFColor color 0 0 0]
  2990. {
  2991.     LibraryObject38 {color IS    color    } #elliptical table
  2992. }
  2993. #Fence 1 - Column
  2994. PROTO    LibraryObject140 [field SFColor color 0 0 0]
  2995. {
  2996.     Group    {children    [
  2997.         Transform    {
  2998.             scale    1 .95 1
  2999.             children Rectangle {color IS color }
  3000.         }
  3001.         Transform    {
  3002.             translation    0 .95 0
  3003.             scale    1 .05 1
  3004.             children LibraryObject121 {color IS color } #pyramid
  3005.         }
  3006.     ]}
  3007. }
  3008. #Fence 1
  3009. PROTO    LibraryObject139 [field SFColor color 0 0 0]
  3010. {
  3011.     Group    {children    [
  3012.         Transform    {
  3013.             scale    .125 1 1
  3014.             children LibraryObject140 {color IS color }
  3015.         }
  3016.         Transform    {
  3017.             translation    .1 0 0
  3018.             scale    .9 .35 1
  3019.             children Rectangle {color IS color }
  3020.         }
  3021.         Transform    {
  3022.             translation    .1 .45 .4
  3023.             scale    .9 .12 .2
  3024.             children Rectangle {color IS color }
  3025.         }
  3026.         Transform    {
  3027.             translation    .1 .7 .4
  3028.             scale    .9 .12 .2
  3029.             children Rectangle {color IS color }
  3030.         }
  3031.     ]}
  3032. }
  3033. #Fence 2
  3034. PROTO    LibraryObject141 [field SFColor color 0 0 0]
  3035. {
  3036.     Group    {children    [
  3037.         Transform    { #back
  3038.             translation    0 .2 0
  3039.             scale    1 .05 .5
  3040.             children Rectangle {color IS color }
  3041.         }
  3042.         Transform    {
  3043.             translation    0 .75 0
  3044.             scale    1 .05 .5
  3045.             children Rectangle {color IS color }
  3046.         }
  3047.         DEF    GRCOL Group    {
  3048.             children [
  3049.                 DEF COL Transform    {
  3050.                     translation    0 0 .5
  3051.                     scale    .07 1 .5
  3052.                     children Rectangle {color IS color }
  3053.                 }
  3054.                 Transform    {
  3055.                     translation .13 0 0
  3056.                     children USE COL
  3057.                 }
  3058.                 Transform    {
  3059.                     translation .26 0 0
  3060.                     children USE COL
  3061.                 }
  3062.                 Transform    {
  3063.                     translation .4 0 0
  3064.                     children USE COL
  3065.                 }
  3066.             ]
  3067.         }
  3068.         Transform    {
  3069.             translation .53 0 0
  3070.             children USE GRCOL
  3071.         }
  3072.     ]}
  3073. }
  3074. #Chainlink Fence
  3075. PROTO    LibraryObject142 [field SFColor color 0 0 0]
  3076. {
  3077.     Transform    {
  3078.         translation    0 0 .5
  3079.         children Shape {
  3080.             appearance Appearance    { material Material    {diffuseColor    0 0 0}}
  3081.             geometry IndexedLineSet    {
  3082.                 coord    Coordinate {
  3083.                     point    [.1 0 0, .2 0 0, .3 0 0, .4 0 0, .5 0 0, .6 0 0, .7 0 0, .8 0 0, .9 0 0, # bottom point line (0-8)
  3084.                              .1 1 0, .2 1 0, .3 1 0, .4 1 0, .5 1 0, .6 1 0, .7 1 0, .8 1 0, .9 1 0, # top point line (9-17)
  3085.                                  0 .1 0, 0 .2 0, 0 .3 0, 0 .4 0, 0 .5 0, 0 .6 0, 0 .7 0, 0 .8 0, 0 .9 0, # left (18-26)
  3086.                                  1 .1 0, 1 .2 0, 1 .3 0, 1 .4 0, 1 .5 0, 1 .6 0, 1 .7 0, 1 .8 0, 1 .9 0, # right (27-35)
  3087.                                  0 0 0, 1 0 0, 0 1 0, 1 1 0 # diagonals (36-39)
  3088.                     ]
  3089.                 }
  3090.                 coordIndex [0 35 -1, 1 34 -1, 2 33 -1, 3 32 -1, 4 31 -1, 5 30 -1, 6 29 -1, 7 28 -1, 8 27 -1 # bottom->right
  3091.                      0 18 -1,  1 19 -1,  2 20 -1,  3 21 -1,  4 22 -1,  5 23 -1,  6 24 -1,  7 25 -1, 8 26 -1 # bottom->left
  3092.                     17 18 -1, 16 19 -1, 15 20 -1, 14 21 -1, 13 22 -1, 12 23 -1, 11 24 -1, 10 25 -1, 9 26 -1 # top->left
  3093.                     17 35 -1, 16 34 -1, 15 33 -1, 14 32 -1, 13 31 -1, 12 30 -1, 11 29 -1, 10 28 -1, 9 27 -1 # top->right
  3094.                     36 39 -1, 37 38 -1 # diag
  3095.                 ]
  3096.             }
  3097.         }
  3098.     }
  3099. }
  3100. #Banister    
  3101. PROTO    LibraryObject143 [field SFColor color 0 0 0]
  3102. {
  3103.     Group    {children    [
  3104.         Transform    { #top
  3105.             translation    0 .9 0
  3106.             scale    1 .1 .7
  3107.             children Rectangle {color IS color }
  3108.         }
  3109.         DEF COL Transform    {
  3110.             translation    0 0 .5
  3111.             scale    .076 1 .5
  3112.             children Rectangle {color IS color }
  3113.         }
  3114.         Transform    {
  3115.             translation .3 0 0
  3116.             children USE COL
  3117.         }
  3118.         Transform    {
  3119.             translation .62 0 0
  3120.             children USE COL
  3121.         }
  3122.         Transform    {
  3123.             translation .924 0 0
  3124.             children USE COL
  3125.         }
  3126.     ]}
  3127. }
  3128. #Cottage
  3129. PROTO    LibraryObject144 [field SFColor color 0 0 0]
  3130. {                                        
  3131.     Group    {children    [
  3132.         Transform    { 
  3133.             translation .06 0 .05
  3134.             scale    .88 .85 .8
  3135.             children Rectangle {color IS color }
  3136.         }
  3137.         Transform    { #roof
  3138.             translation 0 .85 .05
  3139.             scale    1 .15 .8
  3140.             children LibraryObject124 {color IS color }
  3141.         }
  3142.         Transform    {
  3143.             translation .5 .85 0
  3144.             scale    .5 .15 1
  3145.             children LibraryObject128 {color IS color }
  3146.         }
  3147.         Transform    {
  3148.             translation .5 .85 1
  3149.             rotation 0 1 0 3.1415
  3150.             scale    .5 .15 1
  3151.             children LibraryObject128 {color IS color }
  3152.         }
  3153.         Transform    { #door
  3154.             translation    .15 .02 .855
  3155.             scale .32 .78 1
  3156.             children DEF FRAME Shape {
  3157.                 appearance Appearance    { material Material    {diffuseColor    0 0 0}}
  3158.                 geometry IndexedLineSet    {
  3159.                     coord    Coordinate { point    [0 0 0, 1 0 0, 1 1 0, 0 1 0 ]    }
  3160.                     coordIndex [0 1 2 3 0 -1]
  3161.                 }
  3162.             }
  3163.         }
  3164.         Transform    {
  3165.             translation .2 .52 .85
  3166.             scale    .22 .24 .005
  3167.             children Rectangle {}
  3168.         }
  3169.         Transform    {
  3170.             translation .31 .52 .855
  3171.             scale    .01 .24 .005
  3172.             children Rectangle {color IS color}
  3173.         }
  3174.         Transform    {
  3175.             translation .2 .64 .855
  3176.             scale    .22 .01 .005
  3177.             children Rectangle {color IS color}
  3178.         }
  3179.  
  3180.         Transform    { #window (right)
  3181.             translation    .58 .52 .855
  3182.             scale .28 .22 1
  3183.             children USE FRAME
  3184.         }
  3185.         Transform    {
  3186.             translation .62 .55 .85
  3187.             scale    .2 .16 .005
  3188.             children Rectangle {}
  3189.         }
  3190.         Transform    {
  3191.             translation .71 .55 .855
  3192.             scale    .01 .16 .005
  3193.             children Rectangle {color IS color}
  3194.         }
  3195.         Transform    {
  3196.             translation .62 .63 .855
  3197.             scale    .2 .01 .005
  3198.             children Rectangle {color IS color}
  3199.         }
  3200.         Transform    { #knob
  3201.             translation .43 .48 .85
  3202.             scale    .02 .02 .005
  3203.             children Rectangle {}
  3204.         }
  3205.     ]}
  3206. }
  3207. #Doghouse
  3208. PROTO    LibraryObject145 [field SFColor color 0 0 0]
  3209. {
  3210.     Group    {children    [
  3211.         Transform    { 
  3212.             translation .1 0 .1
  3213.             scale    .8 .7 .8
  3214.             children Rectangle {color IS color }
  3215.         }
  3216.         Transform    { #roof
  3217.             translation 0 .7 .1
  3218.             scale    1 .3 .8
  3219.             children LibraryObject124 {color IS color }
  3220.         }
  3221.         Transform    {
  3222.             translation .5 .7 0
  3223.             scale    .5 .3 1
  3224.             children LibraryObject128 {color IS color }
  3225.         }
  3226.         Transform    {
  3227.             translation .5 .7 1
  3228.             rotation 0 1 0 3.1415
  3229.             scale    .5 .3 1
  3230.             children LibraryObject128 {color IS color }
  3231.         }
  3232.         Transform    { #door
  3233.             translation .3 0 .9
  3234.             scale    .4 .5 .005
  3235.             children Rectangle {}
  3236.         }
  3237.         Transform    {
  3238.             translation .3 .3 .9
  3239.             scale    .4 .4 .005
  3240.             children LibraryObject119 {}
  3241.         }
  3242.     ]}
  3243. }
  3244. #Greenhouse
  3245. PROTO    LibraryObject146 [field SFColor color 0 0 0]
  3246. {
  3247.     Group    {children    [
  3248.         Shape {
  3249.             appearance Appearance    { material Material    {diffuseColor    IS color  transparency .6}}
  3250.             geometry IndexedFaceSet    {
  3251.                 coord    Coordinate { point [0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 .75 0, 1 .75 0, 1 .75 1, 0 .75 1, .5 1 0, .5 1 1]}
  3252.                 coordIndex [0 4 8 5 1 -1, 1 5 6 2 -1, 2 6 9 7 3 -1, 3 7 4 0 -1 # base
  3253.                     4 8 9 7 -1, 5 8 9 6 -1 #roof
  3254.                     ]
  3255.                 solid    FALSE # all double side
  3256.             }
  3257.         }
  3258.     ]}
  3259. }
  3260. #Round Stairs L
  3261. PROTO    LibraryObject147 [field SFColor color 0 0 0]
  3262. {
  3263.     Group    {children    [
  3264.         Shape    {
  3265.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3266.             geometry Extrusion {
  3267.                 crossSection [0 1, .4 0, 0 0, 0 1]     spine    [0 .95 0, 0 1 0]        solid    TRUE
  3268.             }
  3269.         }
  3270.         Shape    {
  3271.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3272.             geometry Extrusion {
  3273.                 crossSection [0 1, 1 0, .4 0, 0 1]     spine    [0 .7 0, 0 .75 0]        solid    TRUE
  3274.             }
  3275.         }
  3276.         Shape    {
  3277.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3278.             geometry Extrusion {
  3279.                 crossSection [0 1, 1 .4, 1 0, 0 1]     spine    [0 .45 0, 0 .5 0]        solid    TRUE
  3280.             }
  3281.         }
  3282.         Shape    {
  3283.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3284.             geometry Extrusion {
  3285.                 crossSection [0 1, 1 1, 1 .4, 0 1]     spine    [0 .2 0, 0 .25 0]        solid    TRUE
  3286.             }
  3287.         }
  3288.     ]}
  3289. }
  3290. #Round Stairs R
  3291. PROTO    LibraryObject148 [field SFColor color 0 0 0]
  3292. {
  3293.     Group    {children    [
  3294.         Shape    {
  3295.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3296.             geometry Extrusion {
  3297.                 crossSection [1 1, 1 0, .6 0, 1 1]     spine    [0 .95 0, 0 1 0]        solid    TRUE
  3298.             }
  3299.         }
  3300.         Shape    {
  3301.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3302.             geometry Extrusion {
  3303.                 crossSection [1 1, .6 0, 0 0, 1 1]     spine    [0 .7 0, 0 .75 0]        solid    TRUE
  3304.             }
  3305.         }
  3306.         Shape    {
  3307.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3308.             geometry Extrusion {
  3309.                 crossSection [1 1, 0 0, 0 .4, 1 1]     spine    [0 .45 0, 0 .5 0]        solid    TRUE
  3310.             }
  3311.         }
  3312.         Shape    {
  3313.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3314.             geometry Extrusion {
  3315.                 crossSection [1 1, 0 .4, 0 1, 1 1]     spine    [0 .2 0, 0 .25 0]        solid    TRUE
  3316.             }
  3317.         }
  3318.     ]}
  3319. }
  3320. #Round Stairs L (Solid)
  3321. PROTO    LibraryObject154 [field SFColor color 0 0 0]
  3322. {
  3323.     Group    {children    [
  3324.         Shape    {
  3325.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3326.             geometry Extrusion {
  3327.                 crossSection [0 1, .4 0, 0 0, 0 1]     spine    [0 0 0, 0 1 0]        solid    TRUE
  3328.             }
  3329.         }
  3330.         Shape    {
  3331.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3332.             geometry Extrusion {
  3333.                 crossSection [0 1, 1 0, .4 0, 0 1]     spine    [0 0 0, 0 .75 0]        solid    TRUE
  3334.             }
  3335.         }
  3336.         Shape    {
  3337.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3338.             geometry Extrusion {
  3339.                 crossSection [0 1, 1 .4, 1 0, 0 1]     spine    [0 0 0, 0 .5 0]        solid    TRUE
  3340.             }
  3341.         }
  3342.         Shape    {
  3343.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3344.             geometry Extrusion {
  3345.                 crossSection [0 1, 1 1, 1 .4, 0 1]     spine    [0 0 0, 0 .25 0]        solid    TRUE
  3346.             }
  3347.         }
  3348.     ]}
  3349. }
  3350. #Round Stairs R (Solid)
  3351. PROTO    LibraryObject155 [field SFColor color 0 0 0]
  3352. {
  3353.     Group    {children    [
  3354.         Shape    {
  3355.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3356.             geometry Extrusion {
  3357.                 crossSection [1 1, 1 0, .6 0, 1 1]     spine    [0 0 0, 0 1 0]        solid    TRUE
  3358.             }
  3359.         }
  3360.         Shape    {
  3361.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3362.             geometry Extrusion {
  3363.                 crossSection [1 1, .6 0, 0 0, 1 1]     spine    [0 0 0, 0 .75 0]        solid    TRUE
  3364.             }
  3365.         }
  3366.         Shape    {
  3367.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3368.             geometry Extrusion {
  3369.                 crossSection [1 1, 0 0, 0 .4, 1 1]     spine    [0 0 0, 0 .5 0]        solid    TRUE
  3370.             }
  3371.         }
  3372.         Shape    {
  3373.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3374.             geometry Extrusion {
  3375.                 crossSection [1 1, 0 .4, 0 1, 1 1]     spine    [0 0 0, 0 .25 0]        solid    TRUE
  3376.             }
  3377.         }
  3378.     ]}
  3379. }
  3380. #Helical Stairs L
  3381. PROTO    LibraryObject156 [field SFColor color 0 0 0]
  3382. {
  3383.     Group    {children    [
  3384.         Shape    {
  3385.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3386.             geometry Extrusion {
  3387.                 crossSection [0 1, .4 0, 0 0, 0 1]     spine    [0 .95 0, 0 1 0]        solid    TRUE
  3388.             }
  3389.         }
  3390.         Shape    {
  3391.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3392.             geometry Extrusion {
  3393.                 crossSection [0 1, .8 .2, .4 0, 0 1]     spine    [0 .7 0, 0 .75 0]        solid    TRUE
  3394.             }
  3395.         }
  3396.         Shape    {
  3397.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3398.             geometry Extrusion {
  3399.                 crossSection [0 1, 1 .4, .8 .2, 0 1]     spine    [0 .45 0, 0 .5 0]        solid    TRUE
  3400.             }
  3401.         }
  3402.         Shape    {
  3403.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3404.             geometry Extrusion {
  3405.                 crossSection [0 1, 1 1, 1 .4, 0 1]     spine    [0 .2 0, 0 .25 0]        solid    TRUE
  3406.             }
  3407.         }
  3408.     ]}
  3409. }
  3410. #Helical Stairs R
  3411. PROTO    LibraryObject157 [field SFColor color 0 0 0]
  3412. {
  3413.     Group    {children    [
  3414.         Shape    {
  3415.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3416.             geometry Extrusion {
  3417.                 crossSection [1 1, 1 0, .6 0, 1 1]     spine    [0 .95 0, 0 1 0]        solid    TRUE
  3418.             }
  3419.         }
  3420.         Shape    {
  3421.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3422.             geometry Extrusion {
  3423.                 crossSection [1 1, .6 0, .2 .2, 1 1]     spine    [0 .7 0, 0 .75 0]        solid    TRUE
  3424.             }
  3425.         }
  3426.         Shape    {
  3427.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3428.             geometry Extrusion {
  3429.                 crossSection [1 1, .2 .2, 0 .4, 1 1]     spine    [0 .45 0, 0 .5 0]        solid    TRUE
  3430.             }
  3431.         }
  3432.         Shape    {
  3433.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3434.             geometry Extrusion {
  3435.                 crossSection [1 1, 0 .4, 0 1, 1 1]     spine    [0 .2 0, 0 .25 0]        solid    TRUE
  3436.             }
  3437.         }
  3438.     ]}
  3439. }
  3440. #Helical Stairs L (Solid)
  3441. PROTO    LibraryObject158 [field SFColor color 0 0 0]
  3442. {
  3443.     Group    {children    [
  3444.         Shape    {
  3445.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3446.             geometry Extrusion {
  3447.                 crossSection [0 1, .4 0, 0 0, 0 1]     spine    [0 0 0, 0 1 0]        solid    TRUE
  3448.             }
  3449.         }
  3450.         Shape    {
  3451.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3452.             geometry Extrusion {
  3453.                 crossSection [0 1, .8 .2, .4 0, 0 1]     spine    [0 0 0, 0 .75 0]        solid    TRUE
  3454.             }
  3455.         }
  3456.         Shape    {
  3457.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3458.             geometry Extrusion {
  3459.                 crossSection [0 1, 1 .4, .8 .2, 0 1]     spine    [0 0 0, 0 .5 0]        solid    TRUE
  3460.             }
  3461.         }
  3462.         Shape    {
  3463.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3464.             geometry Extrusion {
  3465.                 crossSection [0 1, 1 1, 1 .4, 0 1]     spine    [0 0 0, 0 .25 0]        solid    TRUE
  3466.             }
  3467.         }
  3468.     ]}
  3469. }
  3470. #Helical Stairs R (Solid)
  3471. PROTO    LibraryObject159 [field SFColor color 0 0 0]
  3472. {
  3473.     Group    {children    [
  3474.         Shape    {
  3475.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3476.             geometry Extrusion {
  3477.                 crossSection [1 1, 1 0, .6 0, 1 1]     spine    [0 0 0, 0 1 0]        solid    TRUE
  3478.             }
  3479.         }
  3480.         Shape    {
  3481.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3482.             geometry Extrusion {
  3483.                 crossSection [1 1, .6 0, .2 .2, 1 1]     spine    [0 0 0, 0 .75 0]        solid    TRUE
  3484.             }
  3485.         }
  3486.         Shape    {
  3487.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3488.             geometry Extrusion {
  3489.                 crossSection [1 1, .2 .2, 0 .4, 1 1]     spine    [0 0 0, 0 .5 0]        solid    TRUE
  3490.             }
  3491.         }
  3492.         Shape    {
  3493.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3494.             geometry Extrusion {
  3495.                 crossSection [1 1, 0 .4, 0 1, 1 1]     spine    [0 0 0, 0 .25 0]        solid    TRUE
  3496.             }
  3497.         }
  3498.     ]}
  3499. }
  3500. #Stairs 5
  3501. PROTO    LibraryObject160 [field SFColor color 0 0 0]
  3502. {
  3503.     Group    {children    [
  3504.         DEF STEP Transform    {
  3505.             translation    0 .14 0
  3506.             scale    .2 .06 1
  3507.             children Rectangle {color IS color }
  3508.         }
  3509.         Transform    {
  3510.             translation    .2 .2 0
  3511.             children USE STEP
  3512.         }
  3513.         Transform    {
  3514.             translation    .4 .4 0
  3515.             children USE STEP
  3516.         }
  3517.         Transform    {
  3518.             translation    .6 .6 0
  3519.             children USE STEP
  3520.         }
  3521.         Transform    {
  3522.             translation    .8 .8 0
  3523.             children USE STEP
  3524.         }
  3525.     ]}
  3526. }
  3527. #stairs 5 (Solid)
  3528. PROTO    LibraryObject161 [field SFColor color 0 0 0]
  3529. {
  3530.     Group    {    children [
  3531.         Transform    {
  3532.             scale    .2 .2 1
  3533.             children Rectangle {color IS color }
  3534.         }
  3535.         Transform    {
  3536.             translation    .2 0 0
  3537.             scale    .2 .4 1
  3538.             children Rectangle {color IS color }
  3539.         }
  3540.         Transform    {
  3541.             translation    .4 0 0
  3542.             scale    .2 .6 1
  3543.             children Rectangle {color IS color }
  3544.         }
  3545.         Transform    {
  3546.             translation    .6 0 0
  3547.             scale    .2 .8 1
  3548.             children Rectangle {color IS color }
  3549.         }
  3550.         Transform    {
  3551.             translation    .8 0 0
  3552.             scale    .2 1 1
  3553.             children Rectangle {color IS color }
  3554.         }
  3555.     ]}
  3556. }
  3557. #Stairs 10
  3558. PROTO    LibraryObject149 [field SFColor color 0 0 0]
  3559. {
  3560.     Group    {children    [
  3561.         Transform    {
  3562.             scale    .5 .5 1
  3563.             children LibraryObject160 {color IS    color    }
  3564.         }
  3565.         Transform    {
  3566.             translation    .5 .5 0
  3567.             scale    .5 .5 1
  3568.             children LibraryObject160 {color IS    color    }
  3569.         }
  3570.     ]}
  3571. }
  3572. #stairs 10 (Solid)
  3573. PROTO    LibraryObject65 [field SFColor color 0 0 0]
  3574. {
  3575.     Group    {children    [
  3576.         Transform    {
  3577.             scale    .5 .5 1
  3578.             children LibraryObject161 {color IS    color    }
  3579.         }
  3580.         Transform    {
  3581.             translation    .5 .5 0
  3582.             scale    .5 .5 1
  3583.             children LibraryObject161 {color IS    color    }
  3584.         }
  3585.         Transform    {
  3586.             translation    .5 0 0
  3587.             scale    .5 .5 1
  3588.             children Rectangle {color IS    color    }
  3589.         }
  3590.     ]}
  3591. }
  3592. #Security Camera
  3593. PROTO    LibraryObject150 [field SFColor color 0 0 0]
  3594. {
  3595.     Transform    {
  3596.         rotation 1 0 0 .2
  3597.         children    [
  3598.             Transform    {
  3599.                 scale    1 1 .8
  3600.                 children Rectangle {color IS color }
  3601.             }
  3602.             Transform    {
  3603.                 translation    .25 .1 .8
  3604.                 scale    .5 .8 .2
  3605.                 children LibraryObject119 {}
  3606.             }
  3607.         ]}
  3608. }
  3609. #Chessboard
  3610. PROTO    LibraryObject151 [field SFColor color 0 0 0]
  3611. {
  3612.     Group    {children    [
  3613.         Rectangle    {color IS    color    }
  3614.         Transform    {
  3615.             translation    .125 0 0 
  3616.             children DEF RECT4 Group    {
  3617.                 children[
  3618.                     DEF    RECT Shape {
  3619.                         appearance Appearance    { material Material    {diffuseColor    0 0 0}}
  3620.                         geometry IndexedFaceSet    {
  3621.                             coord    Coordinate { point [0 1.05 0, .125 1.05 0, .125 1.05 .125, 0 1.05 .125]}
  3622.                             coordIndex [0 3 2 1 0 -1]
  3623.                             solid    TRUE
  3624.                         }
  3625.                     }
  3626.                     Transform    {
  3627.                         translation    .25 0 0
  3628.                         children USE    RECT
  3629.                     }
  3630.                     Transform    {
  3631.                         translation    .5 0 0
  3632.                         children USE    RECT
  3633.                     }
  3634.                     Transform    {
  3635.                         translation    .75 0 0
  3636.                         children USE    RECT
  3637.                     }
  3638.                 ]
  3639.             }
  3640.         }
  3641.         Transform    {
  3642.             translation    0 0 .125
  3643.             children USE    RECT4
  3644.         }
  3645.         Transform    {
  3646.             translation    .125 0 .25
  3647.             children USE    RECT4
  3648.         }
  3649.         Transform    {
  3650.             translation    0 0 .375
  3651.             children USE    RECT4
  3652.         }
  3653.         Transform    {
  3654.             translation    .125 0 .5
  3655.             children USE    RECT4
  3656.         }
  3657.         Transform    {
  3658.             translation    0 0 .625
  3659.             children USE    RECT4
  3660.         }
  3661.         Transform    {
  3662.             translation    .125 0 .75
  3663.             children USE    RECT4
  3664.         }
  3665.         Transform    {
  3666.             translation    0 0 .875
  3667.             children USE    RECT4
  3668.         }
  3669.  
  3670.     ]}
  3671. }
  3672. #Plant with Pot
  3673. PROTO    LibraryObject152 [field SFColor color 0 0 0]
  3674. {
  3675.     Group    {children    [
  3676.         Transform    { #pot
  3677.             translation    .5 0 .5
  3678.             scale    .6 .2 .6
  3679.             children Shape    {
  3680.                 appearance Appearance    { material Material    {diffuseColor .73 .33 0}}
  3681.                 geometry Extrusion {
  3682.                     crossSection [.2 .5, .5 .2, .5 -.2, .2 -.5, -.2 -.5, -.5 -.2, -.5 .2, -.2 .5, .2 .5]
  3683.                     scale    [.8 .8, 1 1]
  3684.                     solid    TRUE
  3685.                     creaseAngle    1
  3686.                 }
  3687.             }
  3688.         }
  3689.         Transform    { #plant
  3690.             translation    0 .2 0
  3691.             scale    1 .8 1
  3692.             children LibraryObject68 {color    IS color }
  3693.         }
  3694.     ]}
  3695. }
  3696. #Fireplace
  3697. PROTO    LibraryObject153 [field SFColor color 0 0 0]
  3698. {
  3699.     Group    {    children [
  3700.         Transform    { #base
  3701.             translation    .1 0 0
  3702.             scale    .8 .02 .8
  3703.             children Rectangle {} #black
  3704.         }
  3705.         Transform    { #top
  3706.             translation    0 .9 0
  3707.             scale    1 .1 1
  3708.             children Rectangle {color    IS color}
  3709.         }
  3710.         Transform    { #sides
  3711.             scale    1 1 .1
  3712.             children Rectangle {color    IS color}
  3713.         }
  3714.         Transform    {
  3715.             scale    .1 1 1
  3716.             children Rectangle {color    IS color}
  3717.         }
  3718.         Transform    {
  3719.             translation .9 0 0
  3720.             scale    .1 1 1
  3721.             children Rectangle {color    IS color}
  3722.         }
  3723.         Transform    { #side bevel
  3724.             translation    .1 0 .8
  3725.             scale    .1 .9 .1
  3726.             children Rectangle {color    IS color}
  3727.         }
  3728.         Transform    {
  3729.             translation    .8 0 .8
  3730.             scale    .1 .9 .1
  3731.             children Rectangle {color    IS color}
  3732.         }
  3733.         Transform    {
  3734.             translation .1 .8 .8
  3735.             scale    .8 .1 .1
  3736.             children Rectangle {color    IS color}
  3737.         }
  3738.  
  3739.         Transform    {
  3740.             translation    .1 0 .8
  3741.             scale    .8 .2 .01
  3742.             children Rectangle {}
  3743.         }
  3744.     ]}
  3745. }
  3746. #Banister    for Stairs
  3747. PROTO    LibraryObject162 [field SFColor color 0 0 0]
  3748. {
  3749.     Group    {children    [
  3750.         Transform    { #top
  3751.             translation    0 .6 0
  3752.             rotation 0 0 1 .38
  3753.             scale    1.08 .05 1
  3754.             children Rectangle {color IS color }
  3755.         }
  3756.         DEF COL Transform    {
  3757.             translation    0 0 .25
  3758.             scale    .06 .64 .5     # height 90 cm out of 140
  3759.             children Rectangle {color IS color }
  3760.         }
  3761.         Transform    {
  3762.             translation .23 .09 0
  3763.             children USE COL
  3764.         }
  3765.         Transform    {
  3766.             translation .47 .18 0
  3767.             children USE COL
  3768.         }
  3769.         Transform    {
  3770.             translation .7 .27 0
  3771.             children USE COL
  3772.         }
  3773.         Transform    {
  3774.             translation .94 .36 0
  3775.             children USE COL
  3776.         }
  3777.     ]}
  3778. }
  3779. #Clock
  3780. PROTO    LibraryObject163 [field SFColor color 0 0 0]
  3781. {
  3782.     Group    {children    [
  3783.         Transform    {
  3784.             scale    1 1 .8
  3785.             children LibraryObject119 {color IS color }
  3786.         }
  3787.         Transform    {    
  3788.             translation    .5 .5 .8
  3789.             rotation 0 0 1 1
  3790.             scale    .04 .38 .2
  3791.             children Transform{
  3792.                 translation    -.5 0 0
  3793.                 children  Rectangle {}
  3794.             }
  3795.         }
  3796.         Transform    {
  3797.             translation    .5 .5 .8
  3798.             rotation 0 0 1 -1.4
  3799.             scale    .06 .28 .2
  3800.             children Transform{
  3801.                 translation    -.5 0 0
  3802.                 children  Rectangle {}
  3803.             }
  3804.         }
  3805.     ]}
  3806. }
  3807. #Electrical Switch
  3808. PROTO    LibraryObject164 [field SFColor color 0 0 0]
  3809. {
  3810.     Group    {children    [
  3811.         Transform    {
  3812.             scale    1 1 .7
  3813.             children Rectangle {color    IS color}
  3814.         }
  3815.         Transform    {
  3816.             translation .1 .1 .9
  3817.             rotation 1 0 0 -.25
  3818.             scale    .8 .8 .2
  3819.             children Rectangle {color    IS color}
  3820.         }
  3821.     ]}
  3822. }
  3823. #car
  3824. PROTO    LibraryObject70 [field SFColor color 0 0 0]
  3825. {
  3826.     Group    {    children [
  3827.         Transform    { #4 wheels
  3828.             translation    .14 0 0
  3829.             scale    .14 .55 .15
  3830.             children LibraryObject119 {}
  3831.         }
  3832.         Transform    {
  3833.             translation    .14 0 .85
  3834.             scale    .14 .55 .15
  3835.             children LibraryObject119 {}
  3836.         }
  3837.         Transform    {
  3838.             translation    .69 0 .02
  3839.             scale    .14 .55 .15
  3840.             children LibraryObject119 {}
  3841.         }
  3842.         Transform    {
  3843.             translation    .69 0 .83
  3844.             scale    .14 .55 .15
  3845.             children LibraryObject119 {}
  3846.         }
  3847.         Transform    { #front chassis
  3848.             translation .85 .1 0
  3849.             scale    .1 .48 1
  3850.             children Rectangle {color    IS color}
  3851.         }
  3852.         Transform    { #center
  3853.             translation 0 .1 .2
  3854.             scale    .34 .4 .6
  3855.             children Rectangle {color    IS color}
  3856.         }
  3857.         Transform    {
  3858.             translation .3 .1 0
  3859.             scale    .37 .1 1
  3860.             children Rectangle {color    IS color}
  3861.         }
  3862.         Transform    {
  3863.             translation .67 .1 .2
  3864.             scale    .33 .4 .6
  3865.             children Rectangle {color    IS color}
  3866.         }
  3867.         Transform    { #back
  3868.             translation 0 .1 0
  3869.             scale    .12 .6 1
  3870.             children Rectangle {color    IS color}
  3871.         }
  3872.         Transform    {#spoiler
  3873.             translation 0 .98 0
  3874.             scale    .06 .02 1
  3875.             children Rectangle {color    IS color}
  3876.         }
  3877.         Transform    {
  3878.             translation 0 .7 0
  3879.             scale    .06 .3 .01
  3880.             children Rectangle {color    IS color}
  3881.         }
  3882.         Transform    {
  3883.             translation 0 .7 .99
  3884.             scale    .06 .3 .01
  3885.             children Rectangle {color    IS color}
  3886.         }
  3887.         Transform    { # body
  3888.             translation .12 .57 0
  3889.             scale    .22 .13 1
  3890.             children Rectangle {color    IS color}
  3891.         }
  3892.         Transform    {
  3893.             translation .65 .57 0
  3894.             scale    .2 .13 1
  3895.             children Rectangle {color    IS color}
  3896.         }
  3897.         Transform    { #sides
  3898.             translation .3 .1 0
  3899.             scale    .37 .6 .11
  3900.             children Rectangle {color    IS color}
  3901.         }
  3902.         Transform    {
  3903.             translation .3 .1 .89
  3904.             scale    .37 .6 .11
  3905.             children Rectangle {color    IS color}
  3906.         }
  3907.         Transform    { # around the weels (prims)
  3908.             translation .3 .57 0
  3909.             rotation 0 0 1 3.1415
  3910.             scale    .04 .25 1
  3911.             children LibraryObject123 {color    IS color}
  3912.         }
  3913.         Transform    {
  3914.             translation .85 .57 0
  3915.             rotation 0 0 1 3.1415
  3916.             scale    .04 .25 1
  3917.             children LibraryObject123 {color    IS color}
  3918.         }
  3919.         Transform    {
  3920.             translation .12 .57 0
  3921.             rotation 0 0 1 -1.5707
  3922.             scale    .25 .04 1
  3923.             children LibraryObject123 {color    IS color}
  3924.         }
  3925.         Transform    {
  3926.             translation .67 .57 0
  3927.             rotation 0 0 1 -1.5707
  3928.             scale    .25 .04 1
  3929.             children LibraryObject123 {color    IS color}
  3930.         }
  3931.         Transform    { # around the weels
  3932.             translation .33 .1 .1
  3933.             scale    .01 .5 .8
  3934.             children Rectangle {color    IS color}
  3935.         }
  3936.         Transform    {
  3937.             translation .665 .1 .1
  3938.             scale    .005 .5 .8
  3939.             children Rectangle {color    IS color}
  3940.         }
  3941.         Transform    { #front hood
  3942.             translation .95 .5 .2
  3943.             scale    .05 .08 .6
  3944.             children LibraryObject128 {color    IS color} # tilted surface is enough
  3945.         }
  3946.         Transform    {
  3947.             translation .85 .58 0
  3948.             scale    .1 .12 1
  3949.             children LibraryObject123 {color    IS color}
  3950.         }
  3951.         Transform    {
  3952.             translation .95 .1 .8
  3953.             scale    .05 .4 .2
  3954.             children Triangle {color    IS color}
  3955.         }
  3956.         Transform    {
  3957.             translation .95 .1 .2
  3958.             rotation 0 1 0 1.5707
  3959.             scale    .2 .4 .05
  3960.             children Triangle {color    IS color}
  3961.         }
  3962.         Shape    { # front hood - modified prism - lights
  3963.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3964.             geometry IndexedFaceSet    {
  3965.                 coord    Coordinate { point [.95 .5 1, 1 .5 .8,   .95 .58 .8, .95 .58 1]}
  3966.                 coordIndex [0 1 3 -1, 2 3 1 -1]
  3967.                 solid    TRUE
  3968.             }
  3969.         }
  3970.         Shape    {
  3971.             appearance Appearance    { material Material    {diffuseColor IS color }}
  3972.             geometry IndexedFaceSet    {
  3973.                 coord    Coordinate { point [.95 .5 0, 1 .5 .2,   .95 .58 .2, .95 .58 0]}
  3974.                 coordIndex [0 3 1 -1, 3 2 1 -1]
  3975.                 solid    TRUE
  3976.             }
  3977.         }
  3978.         Shape    { # all windows
  3979.             appearance Appearance    { material Material    {diffuseColor .88 1 1 transparency .7}}
  3980.             geometry IndexedFaceSet    {
  3981.                 coord    Coordinate { point [.65 .7 .08, .72 .7 .2, .72 .7 .8, .65 .7 .92, # 0-3 front, down
  3982.                     .21 .7 .87, .12 .7 .8, .12 .7 .2, .21 .7 .13, # 4-7 back, down
  3983.                     .33 1 .2, .56 1 .2, .56 1 .8, .33 1 .8 # 8-11 roof
  3984.                 ]}
  3985.                 coordIndex [0 9 1 -1, 1 9 10 2 -1, 2 10 3 -1, # front window
  3986.                     3 10 11 4 -1, 4 11 5 -1, 5 11 8 6 -1, 6 8 7 -1, 7 8 9 0 -1] # right, rear and left window
  3987.                 solid    FALSE
  3988.                 creaseAngle    3
  3989.             }
  3990.         }
  3991.         Transform    { #roof
  3992.             translation .33 .99 .2
  3993.             scale    .23 .01 .6
  3994.             children Rectangle {color    IS color}
  3995.         }
  3996.         Shape    { # window columns - main
  3997.             appearance Appearance    { material Material    {diffuseColor IS color}}
  3998.             geometry IndexedFaceSet    {
  3999.                 coord    Coordinate { point [.65 .7 .078, .64 .7 .078, .64 .7 .922, .65 .7 .922, # 0-3 front, down
  4000.                     .21 .7 .87, .26 .7 .88, .26 .7 .12,  .21 .7 .13, # 4-7 back, down
  4001.                     .33 1 .2, .35 1. .2, .55 1 .2, .56 1 .2, .56 1 .8, .55 1 .8, .35 1 .8, .33 1 .8 # 8-15 roof
  4002.                 ]}
  4003.                 coordIndex [1 10 11 0 -1, 2 13 12 3 -1, # front
  4004.                     4 15 14 5 -1, 6 9 8 7 -1] # rear
  4005.                 solid    FALSE
  4006.             }
  4007.         }
  4008.         Shape    { # window columns - secondary
  4009.             appearance Appearance    { material Material    {diffuseColor IS color}}
  4010.             geometry IndexedFaceSet    {
  4011.                 coord    Coordinate { point [.585 .7 .08, .58 .7 .08, .58 .7 .92, .585 .7 .92, # 0-3 front, down
  4012.                     .365 .7 .88, .37 .7 .88, .37 .7 .13,  .365 .7 .13, # 4-7 back, down
  4013.                     .36 1 .2, .365 1. .2, .575 .93 .17, .58 .93 .17, .58 .93 .83, .575 .93 .83, .365 1 .8, .36 1 .8 # 8-15 roof
  4014.                 ]}
  4015.                 coordIndex [1 10 11 0 -1, 2 13 12 3 -1, # front
  4016.                     4 15 14 5 -1, 6 9 8 7 -1] # rear
  4017.                 solid    FALSE
  4018.             }
  4019.         }
  4020.         Transform    { # rear-view mirrors
  4021.             translation .62 .72 0
  4022.             scale    .01 .07 .07
  4023.             children Rectangle {color    IS color}
  4024.         }
  4025.         Transform    {
  4026.             translation .62 .72 .93
  4027.             scale    .01 .07 .07
  4028.             children Rectangle {color    IS color}
  4029.         }
  4030.         Transform    {
  4031.             translation .58 .88 .42
  4032.             scale    .005 .07 .16
  4033.             children Rectangle {color    IS color}
  4034.         }
  4035.         Transform    { #steering wheel
  4036.             translation .64 .5 .46
  4037.             rotation 0 1 0 1.5707
  4038.             scale    .22 .3 .005
  4039.             children LibraryObject119 {}
  4040.         }
  4041.         Transform    { #seats
  4042.             translation .43 .2 .2
  4043.             rotation 0 0 1 .1
  4044.             scale    .03 .6 .25
  4045.             children Rectangle {color    IS color}
  4046.         }
  4047.         Transform    {
  4048.             translation .43 .2 .2
  4049.             scale    .15 .1 .25
  4050.             children Rectangle {color    IS color}
  4051.         }
  4052.         Transform    {
  4053.             translation .43 .2 .55
  4054.             rotation 0 0 1 .1
  4055.             scale    .03 .6 .25
  4056.             children Rectangle {color    IS color}
  4057.         }
  4058.     ]}
  4059. }
  4060. # dog
  4061. PROTO    LibraryObject165 [field SFColor color 0 0 0]
  4062. {
  4063.     Group    {children    [
  4064.         Transform    {
  4065.             translation    .2 .3 .15
  4066.             scale    .77 .35 .7
  4067.             children DEF BODY Transform    {
  4068.                 translation    .5 0 .5
  4069.                 children Shape {
  4070.                     appearance Appearance { material Material    { diffuseColor IS    color    }}
  4071.                     geometry Extrusion {
  4072.                         crossSection [-.5 -.5, -.5 .5, .5 .5, .5 -.5, -.5 -.5]
  4073.                         spine    [0 0 0, 0 .3 0, 0 .7 0, 0 1 0, 0 1 0]
  4074.                         scale    [1 1,   1 1,    1 1,    1 1,   .6 .6]
  4075.                         solid    TRUE
  4076.                         creaseAngle    4
  4077.                     }
  4078.                 }
  4079.             }
  4080.         }
  4081.         DEF LEG Group { children [
  4082.             Transform    {
  4083.                 translation .25 0 0
  4084.                 scale    .1 .55 .25
  4085.                 children Ellipse {color    IS color}
  4086.             }
  4087.             Transform    { #sphere
  4088.                 translation .25 .5 0
  4089.                 scale    .1 .1 .25
  4090.                 children LibraryObject118 {color    IS color}
  4091.             }
  4092.         ]}
  4093.         Transform    {
  4094.             translation 0 0 .75
  4095.             children USE LEG
  4096.         }
  4097.         DEF BLEG Group { children [
  4098.             Transform    { #cone
  4099.                 translation .95 .55 0
  4100.                 rotation 0 0 1 3.1415
  4101.                 scale    .18 .55 .3
  4102.                 children LibraryObject120 {color    IS color } 
  4103.             }
  4104.             Transform    {
  4105.                 translation .81 0 .07
  4106.                 scale    .1 .35 .16
  4107.                 children Ellipse {color    IS color}
  4108.             }
  4109.             Transform    { #sphere
  4110.                 translation .77 .5 0
  4111.                 scale    .18 .1 .3
  4112.                 children LibraryObject118 {color    IS color}
  4113.             }
  4114.         ]}
  4115.         Transform    {
  4116.             translation 0 0 .7
  4117.             children USE BLEG
  4118.         }
  4119.         Transform    { #tail
  4120.             translation .93 .6 .4
  4121.             rotation 0 0 1 -.25
  4122.             scale    .08 .2 .2
  4123.             children LibraryObject118 {color    IS color}
  4124.         }
  4125.         Transform    { #head
  4126.             translation .15 .6 .22
  4127.             scale    .15 .32 .56
  4128.             children USE BODY
  4129.         }
  4130.         Transform    {
  4131.             translation .0 .6 .25
  4132.             scale    .2 .2 .5
  4133.             children USE BODY
  4134.         }
  4135.         Transform    { #ears
  4136.             translation .22 .9 .25
  4137.             rotation 0 0 1 -.2
  4138.             scale    .05 .1 .2
  4139.             children LibraryObject118 {color    IS color}
  4140.         }
  4141.         Transform    {
  4142.             translation .22 .9 .55
  4143.             rotation 0 0 1 -.2
  4144.             scale    .05 .1 .2
  4145.             children LibraryObject118 {color    IS color}
  4146.         }
  4147.         Transform    { #muzzle
  4148.             translation -.02 .78 .4
  4149.             scale    .05 .05 .2
  4150.             children LibraryObject118 { color .3 .3 .3}
  4151.         }
  4152.         Transform    { #eyes
  4153.             translation .14 .83 .28
  4154.             scale    .02 .03 .12
  4155.             children LibraryObject118 {}
  4156.         }
  4157.         Transform    {
  4158.             translation .14 .83 .6
  4159.             scale    .02 .03 .12
  4160.             children LibraryObject118 {}
  4161.         }
  4162.     ]}
  4163. }
  4164. # cat
  4165. PROTO    LibraryObject166 [field SFColor color 0 0 0]
  4166. {
  4167.     Group    {children    [
  4168.         Transform    {
  4169.             translation    .15 .3 .15
  4170.             scale    .8 .35 .7
  4171.             children DEF BODY Transform    {
  4172.                 translation    .5 0 .5
  4173.                 children Shape {
  4174.                     appearance Appearance { material Material    { diffuseColor IS    color    }}
  4175.                     geometry Extrusion {
  4176.                         crossSection [-.5 -.5, -.5 .5, .5 .5, .5 -.5, -.5 -.5]
  4177.                         spine    [0 0 0, 0 .3 0, 0 .7 0, 0 1 0, 0 1 0]
  4178.                         scale    [1 1,   1 1,    1 1,    1 1,   .6 .6]
  4179.                         solid    TRUE
  4180.                         creaseAngle    4
  4181.                     }
  4182.                 }
  4183.             }
  4184.         }
  4185.         DEF LEG Group { children [
  4186.             Transform    {
  4187.                 translation .2 0 0
  4188.                 scale    .1 .55 .25
  4189.                 children Ellipse {color    IS color}
  4190.             }
  4191.             Transform    { #sphere
  4192.                 translation .2 .5 0
  4193.                 scale    .1 .1 .25
  4194.                 children LibraryObject118 {color    IS color}
  4195.             }
  4196.         ]}
  4197.         Transform    {
  4198.             translation 0 0 .75
  4199.             children USE LEG
  4200.         }
  4201.         DEF BLEG Group { children [
  4202.             Transform    { #cone
  4203.                 translation .93 .55 0
  4204.                 rotation 0 0 1 3.1415
  4205.                 scale    .18 .55 .3
  4206.                 children LibraryObject120 {color    IS color } 
  4207.             }
  4208.             Transform    {
  4209.                 translation .79 0 .07
  4210.                 scale    .1 .35 .16
  4211.                 children Ellipse {color    IS color}
  4212.             }
  4213.             Transform    { #sphere
  4214.                 translation .75 .5 0
  4215.                 scale    .18 .1 .3
  4216.                 children LibraryObject118 {color    IS color}
  4217.             }
  4218.         ]}
  4219.         Transform    {
  4220.             translation 0 0 .7
  4221.             children USE BLEG
  4222.         }
  4223.         Transform    { #tail
  4224.             translation 1 .07 .4
  4225.             rotation 0 0 1 .23
  4226.             scale    .07 .55 .2
  4227.             children Ellipse {color    IS color}
  4228.         }
  4229.         Transform    { #head
  4230.             translation 0 .5 0
  4231.             scale    .3 .42 1
  4232.             children LibraryObject118 {color IS color }
  4233.         }
  4234.         Transform    { #ears
  4235.             translation .16 .82 .1
  4236.             rotation 0 0 1 -.2
  4237.             scale    .05 .18 .35
  4238.             children LibraryObject118 {color    IS color}
  4239.         }
  4240.         Transform    {
  4241.             translation .16 .82 .6
  4242.             rotation 0 0 1 -.2
  4243.             scale    .05 .18 .35
  4244.             children LibraryObject118 {color    IS color}
  4245.         }
  4246.         Transform    { #muzzle
  4247.             translation -.02 .72 .4
  4248.             scale    .05 .05 .2
  4249.             children LibraryObject118 {color    IS color}
  4250.         }
  4251.         Shape    {     #whiskers
  4252.             appearance Appearance { material    Material {diffuseColor 0 0 0}}
  4253.             geometry IndexedLineSet {    coord    Coordinate {
  4254.                         point    [.02 .65 .02, .02 .7 0, .02 .75 .02,
  4255.                                       .02 .65 .98, .02 .7 1, .02 .75 .98]}
  4256.                 coordIndex [0 5 -1, 1 4 -1, 2 3 -1]
  4257.             }
  4258.         }
  4259.         Transform    { #eyes
  4260.             translation .015 .78 .28
  4261.             scale    .03 .03 .15
  4262.             children LibraryObject118 {}
  4263.         }
  4264.         Transform    {
  4265.             translation .015 .78 .57
  4266.             scale    .03 .03 .15
  4267.             children LibraryObject118 {}
  4268.         }
  4269.     ]}
  4270. }
  4271. PROTO    FigureBase [field SFColor color 0 0 0]
  4272. {
  4273.     Group    {children    [
  4274.         Transform    { #leg
  4275.             translation .15 0 .3
  4276.             scale    .35 .45 .6
  4277.             children Ellipse {color IS color }
  4278.         }
  4279.         Transform    {
  4280.             translation .5 0 .3
  4281.             scale    .35 .45 .6
  4282.             children Ellipse {color IS color }
  4283.         }
  4284.         Transform    { #arm
  4285.             translation 0 .378 .4
  4286.             scale    .18 .42 .4
  4287.             children Ellipse {color IS color }
  4288.         }
  4289.         Transform    {
  4290.             translation .82 .378 .4
  4291.             scale    .18 .42 .4
  4292.             children Ellipse {color IS color }
  4293.         }
  4294.         Transform    { #head
  4295.             translation .2 .8 -.2
  4296.             scale    .6 .2 1.3
  4297.             children LibraryObject118 {color IS color }
  4298.         }
  4299.         Transform    { #nose
  4300.             translation .45 .87 -.25
  4301.             scale    .1 .05 .3
  4302.             children LibraryObject118 {color IS color }
  4303.         }
  4304.         Transform    { #mouth
  4305.             translation .38 .84 -.12
  4306.             scale    .24 .02 .3
  4307.             children LibraryObject118 {color IS color }
  4308.         }
  4309.         Transform    { #eyes
  4310.             translation .38 .9 -.2
  4311.             scale    .06 .02 .3
  4312.             children LibraryObject118 {}
  4313.         }
  4314.         Transform    {
  4315.             translation .56 .9 -.2
  4316.             scale    .06 .02 .3
  4317.             children LibraryObject118 {}
  4318.         }
  4319.     ]}
  4320. }
  4321. # Male Figure
  4322. PROTO    LibraryObject167 [field SFColor color 0 0 0]
  4323. {
  4324.     Group    {children    [
  4325.         FigureBase {color    IS color }
  4326.         Transform    {
  4327.             translation    .15 .45 .3
  4328.             scale    .7 .35 .6
  4329.             children Transform    {
  4330.                 translation    .5 0 .5
  4331.                 children Shape {
  4332.                     appearance Appearance { material Material    { diffuseColor IS    color    }}
  4333.                     geometry Extrusion {
  4334.                         crossSection [-.5 -.5, -.5 .5, .5 .5, .5 -.5, -.5 -.5]
  4335.                         spine    [0 0 0, 0 .3 0, 0 .7 0, 0 1 0, 0 1 0]
  4336.                         scale    [1 1,   1 1,    1 1.2,  .97 1, .6 .6]
  4337.                         solid    TRUE
  4338.                         creaseAngle    4
  4339.                     }
  4340.                 }
  4341.             }
  4342.         }
  4343.     ]}
  4344. }
  4345. # Female Figure
  4346. PROTO    LibraryObject168 [field SFColor color 0 0 0]
  4347. {
  4348.     Group    {children    [
  4349.         FigureBase {color    IS color }
  4350.         Transform    {
  4351.             translation    .15 .45 .3
  4352.             scale    .7 .35 .6
  4353.             children Transform    {
  4354.                 translation    .5 0 1
  4355.                 children Shape {
  4356.                     appearance Appearance { material Material    { diffuseColor IS    color    }}
  4357.                     geometry Extrusion {
  4358.                         crossSection [-.5 -1, -.5 0, .5 0, .5 -1, -.5 -1]
  4359.                         spine    [0 0 0, 0 .3 0, 0 .56 0, 0 .63 0, 0 .73 0, 0 .78 0, 0 .86 0, 0 1 0, 0 1 0]
  4360.                         scale    [1 1,   1 1,    1 1      1 1.4,   1 1.4,   1 1.3,   1 1.05,  .97 1, .6 .6]
  4361.                         solid    TRUE
  4362.                         creaseAngle    4
  4363.                     }
  4364.                 }
  4365.             }
  4366.         }
  4367.         Transform    { #skirt
  4368.             translation    .12 .35 .2
  4369.             scale    .76 .22    .8
  4370.             children Transform    {
  4371.                 translation    .5 0 .5
  4372.                 children Shape {
  4373.                     appearance Appearance { material Material    { diffuseColor IS    color    }}
  4374.                     geometry Extrusion {
  4375.                         crossSection [-.5 -.5, -.5 .5, .5 .5, .5 -.5, -.5 -.5]
  4376.                         spine    [0 0 0, 0 .7 0, 0 1 0]
  4377.                         scale    [1 1,   1 1,  .95 .95]
  4378.                         solid    TRUE
  4379.                         creaseAngle    4
  4380.                     }
  4381.                 }
  4382.             }
  4383.         }
  4384.     ]}
  4385. }
  4386. # Whiteboard
  4387. PROTO    LibraryObject169 [field SFColor color 0 0 0]
  4388. {
  4389.     Group    {children    [
  4390.         Transform    { #board
  4391.             translation 0 .5 .78
  4392.             rotation 1 0 0 -.48
  4393.             scale    1 .55 .02
  4394.             children Transform    { #rectangle with emmisive color
  4395.                     translation    .5 .5 .5
  4396.                     children Shape    {
  4397.                         appearance Appearance { material Material    { emissiveColor .25 .25 .25    diffuseColor IS color }}
  4398.                         geometry Box {
  4399.                             size 1 1 1
  4400.                         }
  4401.                     }
  4402.                 }
  4403.         }
  4404.         Transform    { #front stands
  4405.             translation .25 0 1
  4406.             rotation 1 0 0 -.48
  4407.             scale    .1 1.12 .01
  4408.             children Rectangle {color    IS color }
  4409.         }
  4410.         Transform    { #
  4411.             translation .65 0 1
  4412.             rotation 1 0 0 -.48
  4413.             scale    .1 1.12 .01
  4414.             children Rectangle {color    IS color }
  4415.         }
  4416.         Transform    { #back stand
  4417.             translation .45 0 0
  4418.             rotation 1 0 0 .48
  4419.             scale    .1 1.12 .01
  4420.             children Rectangle {color    IS color }
  4421.         }
  4422.     ]}
  4423. }
  4424. #
  4425. PROTO    LibraryObject199 [field SFColor color 0 0 0]
  4426. {
  4427.     Group    {children    [
  4428.     ]}
  4429. }
  4430.